InputSticker.fromJson constructor
Parse from a json
Implementation
factory InputSticker.fromJson(Map<String, dynamic> json) => InputSticker(
sticker: InputFile.fromJson(json['sticker']),
emojis: json['emojis'],
maskPosition: json['mask_position'] == null
? null
: MaskPosition.fromJson(json['mask_position']),
keywords: List<String>.from(
(json['keywords'] ?? []).map((item) => item).toList()),
);