PushMessageContentVideoNote.fromJson constructor

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

Parse from a json

Implementation

factory PushMessageContentVideoNote.fromJson(Map<String, dynamic> json) => PushMessageContentVideoNote(
  videoNote: json['video_note'] == null ? null : VideoNote.fromJson(json['video_note']),
  isPinned: json['is_pinned'],
);