fromMap static method
override
Construct from Map.
Implementation
static MessageGameScore? 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 game_message_id = _map['game_message_id']! as int;
var game_id = _map['game_id']! as int64;
var score = _map['score']! as int;
return MessageGameScore(
extra: extra,
clientId: clientId,
game_message_id: game_message_id,
game_id: game_id,
score: score,
);
}