toJson method

String toJson()

Implementation

String toJson() {
  return json.encode({
    "audioName": audioName,
    "audioPath": audioPath,
    "audioUrl": audioUrl,
    "audioBytes": audioBytes,
    "decibels": decibels,
    "duration": duration,
    "size": size,
  });
}