Boost class

Boost.

ID: 4b3e14d6.

Inheritance

Constructors

Boost({required bool gift, required bool giveaway, required bool unclaimed, required String id, int? userId, int? giveawayMsgId, required DateTime date, required DateTime expires, String? usedGiftSlug, int? multiplier, int? stars})
Boost constructor.
const
Boost.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

date → DateTime
Date.
final
expires → DateTime
Expires.
final
flags → int
Flags.
no setter
gift → bool
gift: bit 1 of flags.1?true
final
giveaway → bool
giveaway: bit 2 of flags.2?true
final
giveawayMsgId → int?
Giveaway Msg Id.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Id.
final
multiplier → int?
Multiplier.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stars → int?
Stars.
final
unclaimed → bool
unclaimed: bit 3 of flags.3?true
final
usedGiftSlug → String?
Used Gift Slug.
final
userId → int?
User Id.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() → Map<String, dynamic>
Converts an object to JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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