AnimatedChatPhoto.fromJson constructor

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

Parse from a json

Implementation

factory AnimatedChatPhoto.fromJson(Map<String, dynamic> json) =>
    AnimatedChatPhoto(
      length: json['length'],
      file: File.fromJson(json['file']),
      mainFrameTimestamp: json['main_frame_timestamp'],
    );