Tier class
Constructors
- Tier({required int amount, required int unitAmount, double? upperLimit})
- Tier.fromJson(String source)
-
factory
-
Tier.fromMap(Map<
String, dynamic> map) -
factory
Properties
- amount ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unitAmount ↔ int
-
getter/setter pair
- upperLimit ↔ double?
-
getter/setter pair
Methods
-
copyWith(
{int? amount, int? unitAmount, double? upperLimit}) → Tier - Specify how to clone the concrete class.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toMap(
{bool withId = true}) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object? other) → bool - The equality operator.