toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final data = Map<String, dynamic>();
  data['uuid'] = this.uuid;
  data['soundPath'] = this.soundPath;
  data['sourceUrl'] = this.sourceUrl;
  data['dataSize'] = this.dataSize;
  data['duration'] = this.duration;
  return data;
}