fromMap static method
override
Construct from Map.
Implementation
static CheckStickerSetNameResult? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
switch (_) {
case 'checkStickerSetNameResultNameOccupied':
return CheckStickerSetNameResultNameOccupied.fromMap(_map);
case 'checkStickerSetNameResultOk':
return CheckStickerSetNameResultOk.fromMap(_map);
case 'checkStickerSetNameResultNameInvalid':
return CheckStickerSetNameResultNameInvalid.fromMap(_map);
case null:
default:
return null;
}
}