toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'file_path': filePath,
'duration': duration,
'waveform': waveform,
'self_destruct_type': selfDestructType?.toJson(),
'@type': constructor,
};