PoolStats class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

PoolStats.new({String? apy, required String baseId, required String baseLiquidity, required String baseName, required String baseSymbol, required String baseVolume, required String lastPrice, required String lpPrice, required String lpPriceUsd, required String poolAddress, required String quoteId, required String quoteLiquidity, required String quoteName, required String quoteSymbol, required String quoteVolume, required String routerAddress, required String url})
const
PoolStats.fromJson(Map<String, dynamic> json)
factory

Properties

apy String?
final
baseId String
final
baseLiquidity String
final
baseName String
final
baseSymbol String
final
baseVolume String
final
hashCode int
The hash code for this object.
no setteroverride
lastPrice String
final
lpPrice String
final
lpPriceUsd String
final
poolAddress String
final
quoteId String
final
quoteLiquidity String
final
quoteName String
final
quoteSymbol String
final
quoteVolume String
final
routerAddress String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final

Methods

copyWith({String? apy, String? baseId, String? baseLiquidity, String? baseName, String? baseSymbol, String? baseVolume, String? lastPrice, String? lpPrice, String? lpPriceUsd, String? poolAddress, String? quoteId, String? quoteLiquidity, String? quoteName, String? quoteSymbol, String? quoteVolume, String? routerAddress, String? url}) PoolStats

Available on PoolStats, provided by the $PoolStatsExtension extension

copyWithWrapped({Wrapped<String?>? apy, Wrapped<String>? baseId, Wrapped<String>? baseLiquidity, Wrapped<String>? baseName, Wrapped<String>? baseSymbol, Wrapped<String>? baseVolume, Wrapped<String>? lastPrice, Wrapped<String>? lpPrice, Wrapped<String>? lpPriceUsd, Wrapped<String>? poolAddress, Wrapped<String>? quoteId, Wrapped<String>? quoteLiquidity, Wrapped<String>? quoteName, Wrapped<String>? quoteSymbol, Wrapped<String>? quoteVolume, Wrapped<String>? routerAddress, Wrapped<String>? url}) PoolStats

Available on PoolStats, provided by the $PoolStatsExtension 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 PoolStats Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(PoolStats instance)