StickerFullTypeCustomEmoji.fromJson constructor

StickerFullTypeCustomEmoji.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory StickerFullTypeCustomEmoji.fromJson(Map<String, dynamic> json) =>
    StickerFullTypeCustomEmoji(
      customEmojiId: int.parse(json['custom_emoji_id']),
      needsRepainting: json['needs_repainting'],
    );