fromMap static method
override
Construct from Map.
Implementation
static DiceStickersSlotMachine? 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 background = Sticker.fromMap(_map['background'])!;
var lever = Sticker.fromMap(_map['lever'])!;
var left_reel = Sticker.fromMap(_map['left_reel'])!;
var center_reel = Sticker.fromMap(_map['center_reel'])!;
var right_reel = Sticker.fromMap(_map['right_reel'])!;
return DiceStickersSlotMachine(
extra: extra,
clientId: clientId,
background: background,
lever: lever,
left_reel: left_reel,
center_reel: center_reel,
right_reel: right_reel,
);
}