InputSticker.fromJson constructor
a InputSticker return type can be :
Implementation
factory InputSticker.fromJson(Map<String, dynamic> json) {
switch(json["@type"]) {
case InputStickerStatic.CONSTRUCTOR:
return InputStickerStatic.fromJson(json);
case InputStickerAnimated.CONSTRUCTOR:
return InputStickerAnimated.fromJson(json);
default:
return const InputSticker();
}
}