fromJson static method
Inherited by: InlineQueryResultAnimation InlineQueryResultArticle InlineQueryResultAudio InlineQueryResultContact InlineQueryResultDocument InlineQueryResultGame InlineQueryResultLocation InlineQueryResultPhoto InlineQueryResultSticker InlineQueryResultVenue InlineQueryResultVideo InlineQueryResultVoiceNote
Implementation
static InlineQueryResultSticker? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InlineQueryResultSticker(
id: (json['id'] as String?) ?? '',
sticker: Sticker.fromJson(json['sticker'] as Map<String, dynamic>?)!,
);
}