toJson method

JsonMap toJson()

Returns this Lyrics instance as JsonMap.

Implementation

JsonMap toJson() => {
  'lyrics': lyrics,
  if (source != null) 'source': source,
  'hasTimestamps': false,
};