PageBlockVoiceNote.fromJson constructor

PageBlockVoiceNote.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory PageBlockVoiceNote.fromJson(Map<String, dynamic> json) => PageBlockVoiceNote(
  voiceNote: json['voice_note'] == null ? null : VoiceNote.fromJson(json['voice_note']),
  caption: PageBlockCaption.fromJson(json['caption']),
);