fromJson static method
Inherited by: DiceStickersRegular DiceStickersSlotMachine
Implementation
static DiceStickersSlotMachine? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return DiceStickersSlotMachine(
background: Sticker.fromJson(tdMapFromJson(json['background'])),
lever: Sticker.fromJson(tdMapFromJson(json['lever'])),
leftReel: Sticker.fromJson(tdMapFromJson(json['left_reel'])),
centerReel: Sticker.fromJson(tdMapFromJson(json['center_reel'])),
rightReel: Sticker.fromJson(tdMapFromJson(json['right_reel'])),
);
}