fromJson static method
Implementation
static Sticker fromJson(Map<String, dynamic> json) {
return Sticker(
fileId: json['file_id']!,
fileUniqueId: json['file_unique_id']!,
width: json['width']!,
height: json['height']!,
isAnimated: json['is_animated']!,
thumb: callIfNotNull(PhotoSize.fromJson, json['thumb']),
emoji: json['emoji'],
setName: json['set_name'],
maskPosition: json['mask_position'],
fileSize: json['file_size'],
);
}