PushMessageContentVoiceNote.fromJson constructor
Parse from a json
Implementation
factory PushMessageContentVoiceNote.fromJson(Map<String, dynamic> json) => PushMessageContentVoiceNote(
voiceNote: json['voice_note'] == null ? null : VoiceNote.fromJson(json['voice_note']),
isPinned: json['is_pinned'],
);