AssetInfoSchemaV2 class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

AssetInfoSchemaV2.new({String? balance, required String contractAddress, String? dexPriceUsd, required AssetKindSchema kind, AssetMetaSchemaV2? meta, int? pairPriority, List<String>? tags, String? walletAddress})
const
AssetInfoSchemaV2.fromJson(Map<String, dynamic> json)
factory

Properties

balance String?
final
contractAddress String
final
dexPriceUsd String?
final
hashCode int
The hash code for this object.
no setteroverride
kind AssetKindSchema
final
meta AssetMetaSchemaV2?
final
pairPriority int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>?
final
walletAddress String?
final

Methods

copyWith({String? balance, String? contractAddress, String? dexPriceUsd, AssetKindSchema? kind, AssetMetaSchemaV2? meta, int? pairPriority, List<String>? tags, String? walletAddress}) AssetInfoSchemaV2

Available on AssetInfoSchemaV2, provided by the $AssetInfoSchemaV2Extension extension

copyWithWrapped({Wrapped<String?>? balance, Wrapped<String>? contractAddress, Wrapped<String?>? dexPriceUsd, Wrapped<AssetKindSchema>? kind, Wrapped<AssetMetaSchemaV2?>? meta, Wrapped<int?>? pairPriority, Wrapped<List<String>?>? tags, Wrapped<String?>? walletAddress}) AssetInfoSchemaV2

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