FarmInfoSchema class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
FarmInfoSchema.new({String? apy, required String minStakeDurationS, required String minterAddress, required List<
FarmNftInfoSchema> nftInfos, required String poolAddress, required String rewardTokenAddress, required String status}) -
const
-
FarmInfoSchema.fromJson(Map<
String, dynamic> json) -
factory
Properties
- apy → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- minStakeDurationS → String
-
final
- minterAddress → String
-
final
-
nftInfos
→ List<
FarmNftInfoSchema> -
final
- poolAddress → String
-
final
- rewardTokenAddress → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
final
Methods
-
copyWith(
{String? apy, String? minStakeDurationS, String? minterAddress, List< FarmNftInfoSchema> ? nftInfos, String? poolAddress, String? rewardTokenAddress, String? status}) → FarmInfoSchema -
Available on FarmInfoSchema, provided by the $FarmInfoSchemaExtension extension
-
copyWithWrapped(
{Wrapped< String?> ? apy, Wrapped<String> ? minStakeDurationS, Wrapped<String> ? minterAddress, Wrapped<List< ? nftInfos, Wrapped<FarmNftInfoSchema> >String> ? poolAddress, Wrapped<String> ? rewardTokenAddress, Wrapped<String> ? status}) → FarmInfoSchema -
Available on FarmInfoSchema, provided by the $FarmInfoSchemaExtension extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const FarmInfoSchema Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(FarmInfoSchema instance)