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