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