StickerItem.decode constructor

StickerItem.decode(
  1. Map<String, dynamic> js
)

Implementation

factory StickerItem.decode(Map<String, dynamic> js) {
  return StickerItem(
      id: Snowflake.parse(js['id'], Snowflake.DiscordEpoch),
      name: js['name'],
      formatType: int.parse(js['format_type']));
}