ProfileShareThemeEmoji.fromJson constructor
Parses a ProfileShareThemeEmoji from TDLib JSON.
Implementation
factory ProfileShareThemeEmoji.fromJson(Map<String, dynamic> json) =>
ProfileShareThemeEmoji(
emojis: _readList<EmojiType>(
json['emojis'],
(e) => _readObject(e, EmojiType.fromJson),
),
useDefaultBackground: _readBool(json['use_default_background']),
backgroundBackdropId: _readInt(json['background_backdrop_id']),
);