UpgradedGiftAttributeRarity class abstract

Describes rarity of an upgraded gift attribute

Inheritance
Implementers
Available extensions
Annotations
  • @immutable

Constructors

UpgradedGiftAttributeRarity()
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getConstructor() → String
override
map<TResult extends Object?>({required TResult perMille(UpgradedGiftAttributeRarityPerMille value), required TResult uncommon(UpgradedGiftAttributeRarityUncommon value), required TResult rare(UpgradedGiftAttributeRarityRare value), required TResult epic(UpgradedGiftAttributeRarityEpic value), required TResult legendary(UpgradedGiftAttributeRarityLegendary value)}) → TResult

Available on UpgradedGiftAttributeRarity, provided by the UpgradedGiftAttributeRarityExtensions extension

maybeMap<TResult extends Object?>({TResult perMille(UpgradedGiftAttributeRarityPerMille value)?, TResult uncommon(UpgradedGiftAttributeRarityUncommon value)?, TResult rare(UpgradedGiftAttributeRarityRare value)?, TResult epic(UpgradedGiftAttributeRarityEpic value)?, TResult legendary(UpgradedGiftAttributeRarityLegendary value)?, required TResult orElse()}) → TResult

Available on UpgradedGiftAttributeRarity, provided by the UpgradedGiftAttributeRarityExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

constructor → const String