fromMap static method

TMeUrlTypeStickerSet? fromMap(
  1. Map<String, dynamic>? _map
)
override

Construct from Map.

Implementation

static TMeUrlTypeStickerSet? fromMap(Map<String, dynamic>? _map) {
  if (_map == null) return null;
  var _ = _map["@type"];
  if (_ != CONSTRUCTOR) return null;
  var extra = _map['@extra'];
  var clientId = _map['@clientId'];
  var sticker_set_id = _map['sticker_set_id']! as int64;
  return TMeUrlTypeStickerSet(
    extra: extra,
    clientId: clientId,
    sticker_set_id: sticker_set_id,
  );
}