DiceStickersSlotMachine class

Inheritance

Constructors

DiceStickersSlotMachine({Sticker background, Sticker lever, Sticker leftReel, Sticker centerReel, Sticker rightReel})
Animated stickers to be combined into a slot machine
DiceStickersSlotMachine.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

background Sticker
background The animated sticker with the slot machine background. The background animation must start playing after all reel animations finish
read / write
centerReel Sticker
centerReel The animated sticker with the center reel
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
leftReel Sticker
leftReel The animated sticker with the left reel
read / write
lever Sticker
lever The animated sticker with the lever animation. The lever animation must play once in the initial dice state
read / write
rightReel Sticker
rightReel The animated sticker with the right reel
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
'diceStickersSlotMachine'