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