PushMessageContentVideo.fromJson constructor

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

Parse from a json

Implementation

factory PushMessageContentVideo.fromJson(Map<String, dynamic> json) => PushMessageContentVideo(
  video: json['video'] == null ? null : Video.fromJson(json['video']),
  caption: json['caption'],
  isSecret: json['is_secret'],
  isPinned: json['is_pinned'],
);