fromMap static method
override
Construct from Map.
Implementation
static SetBotUpdatesStatus? 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 pending_update_count = _map['pending_update_count']! as int;
var error_message = _map['error_message']! as String;
return SetBotUpdatesStatus(
extra: extra,
clientId: clientId,
pending_update_count: pending_update_count,
error_message: error_message,
);
}