DiceStickersSlotMachine class final

Animated stickers to be combined into a slot machine

Inheritance

Constructors

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

Properties

background → Sticker
The animated sticker with the slot machine background. The background animation must start playing after all reel animations finish
final
centerReel → Sticker
The animated sticker with the center reel
final
clientId → int?
Identifier of the TDLib client that sent this object, when known.
no setterinherited
extra → dynamic
"@extra" of the request this object answers; null for updates.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
leftReel → Sticker
The animated sticker with the left reel
final
lever → Sticker
The animated sticker with the lever animation. The lever animation must play once in the initial dice state
final
rightReel → Sticker
The animated sticker with the right reel
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Sticker? background, Sticker? lever, Sticker? leftReel, Sticker? centerReel, Sticker? rightReel}) → DiceStickersSlotMachine
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
override
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String
TDLib type name.