VoiceNote.fromJson constructor
Parse from a json
Implementation
factory VoiceNote.fromJson(Map<String, dynamic> json) => VoiceNote(
duration: json['duration'],
waveform: json['waveform'],
mimeType: json['mime_type'],
voice: File.fromJson(json['voice']),
);