InputThumbnail.fromJson constructor

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

Parse from a json

Implementation

factory InputThumbnail.fromJson(Map<String, dynamic> json) => InputThumbnail(
      thumbnail: InputFile.fromJson(json['thumbnail']),
      width: json['width'],
      height: json['height'],
    );