toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converts an object to JSON.

Implementation

@override
Map<String, dynamic> toJson() {
  final returnValue = <String, dynamic>{
    "\$": "0x9852f9c6",
    "flags": flags,
    "voice": voice,
    "duration": duration,
    "title": title,
    "performer": performer,
    "waveform": waveform,
  };

  // Finished toJson.
  return returnValue;
}