StakingOption class

Annotations
  • @freezed

Constructors

StakingOption({required String tokenAddress, required String tokenSymbol, required String tokenName, required String tokenLogoURI, required String unStakeTokenAddress, required double stakingApr})
factory
StakingOption.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $StakingOptionCopyWith<StakingOption>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stakingApr double
no setterinherited
tokenAddress String
no setterinherited
tokenLogoURI String
no setterinherited
tokenName String
no setterinherited
tokenSymbol String
no setterinherited
unStakeTokenAddress String
no setterinherited

Methods

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.
inherited

Static Methods

optionsFromJson(Iterable docs) List<StakingOption>