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