fromMap static method

UpdateWebAppMessageSent? fromMap(
  1. Map<String, dynamic>? _map
)
override

Construct from Map.

Implementation

static UpdateWebAppMessageSent? 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 web_app_launch_id = _map['web_app_launch_id']! as int64;
  return UpdateWebAppMessageSent(
    extra: extra,
    clientId: clientId,
    web_app_launch_id: web_app_launch_id,
  );
}