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