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