AssetInfoSchema class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
AssetInfoSchema.new({String? balance, required bool blacklisted, required bool community, required String contractAddress, required int decimals, required bool defaultSymbol, required bool deprecated, String? dexPriceUsd, String? dexUsdPrice, String? displayName, String? imageUrl, required AssetKindSchema kind, required int priority, required String symbol, required List<
String> tags, required bool taxable, String? thirdPartyPriceUsd, String? thirdPartyUsdPrice, String? walletAddress}) -
const
-
AssetInfoSchema.fromJson(Map<
String, dynamic> json) -
factory
Properties
- balance → String?
-
final
- blacklisted → bool
-
final
- community → bool
-
final
- contractAddress → String
-
final
- decimals → int
-
final
- defaultSymbol → bool
-
final
- deprecated → bool
-
final
- dexPriceUsd → String?
-
final
- dexUsdPrice → String?
-
final
- displayName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- imageUrl → String?
-
final
- kind → AssetKindSchema
-
final
- priority → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbol → String
-
final
-
final
- taxable → bool
-
final
- thirdPartyPriceUsd → String?
-
final
- thirdPartyUsdPrice → String?
-
final
- walletAddress → String?
-
final
Methods
-
copyWith(
{String? balance, bool? blacklisted, bool? community, String? contractAddress, int? decimals, bool? defaultSymbol, bool? deprecated, String? dexPriceUsd, String? dexUsdPrice, String? displayName, String? imageUrl, AssetKindSchema? kind, int? priority, String? symbol, List< String> ? tags, bool? taxable, String? thirdPartyPriceUsd, String? thirdPartyUsdPrice, String? walletAddress}) → AssetInfoSchema -
Available on AssetInfoSchema, provided by the $AssetInfoSchemaExtension extension
-
copyWithWrapped(
{Wrapped< String?> ? balance, Wrapped<bool> ? blacklisted, Wrapped<bool> ? community, Wrapped<String> ? contractAddress, Wrapped<int> ? decimals, Wrapped<bool> ? defaultSymbol, Wrapped<bool> ? deprecated, Wrapped<String?> ? dexPriceUsd, Wrapped<String?> ? dexUsdPrice, Wrapped<String?> ? displayName, Wrapped<String?> ? imageUrl, Wrapped<AssetKindSchema> ? kind, Wrapped<int> ? priority, Wrapped<String> ? symbol, Wrapped<List< ? tags, Wrapped<String> >bool> ? taxable, Wrapped<String?> ? thirdPartyPriceUsd, Wrapped<String?> ? thirdPartyUsdPrice, Wrapped<String?> ? walletAddress}) → AssetInfoSchema -
Available on AssetInfoSchema, provided by the $AssetInfoSchemaExtension 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 AssetInfoSchema Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(AssetInfoSchema instance)