DiceStickersSlotMachine.fromJson constructor

DiceStickersSlotMachine.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory DiceStickersSlotMachine.fromJson(Map<String, dynamic> json) =>
    DiceStickersSlotMachine(
      background: Sticker.fromJson(json['background']),
      lever: Sticker.fromJson(json['lever']),
      leftReel: Sticker.fromJson(json['left_reel']),
      centerReel: Sticker.fromJson(json['center_reel']),
      rightReel: Sticker.fromJson(json['right_reel']),
    );