fromMap static method
override
Construct from Map.
Implementation
static CallStatePending? 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 is_created = _map['is_created']! as bool;
var is_received = _map['is_received']! as bool;
return CallStatePending(
extra: extra,
clientId: clientId,
is_created: is_created,
is_received: is_received,
);
}