PushMessageContentMediaAlbum.fromJson constructor

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

Parse from a json

Implementation

factory PushMessageContentMediaAlbum.fromJson(Map<String, dynamic> json) => PushMessageContentMediaAlbum(
  totalCount: json['total_count'],
  hasPhotos: json['has_photos'],
  hasVideos: json['has_videos'],
  hasAudios: json['has_audios'],
  hasDocuments: json['has_documents'],
);