TokenDetails.miscToken constructor
Constructs a new MiscToken instance.
Parameters:
symbol
– The symbol of the miscellaneous token.logoURI
– The URI of the miscellaneous token logo.decimals
– The number of decimals for the miscellaneous token.name
– The name of the miscellaneous token.address
– The address of the miscellaneous token.
Implementation
@Implements<IToken>()
@FreezedUnionValue('misc')
const factory TokenDetails.miscToken({
required String symbol,
required String logoURI,
required int decimals,
@JsonKey(
fromJson: nameFromJson,
)
required String name,
@JsonKey(
fromJson: addressFromJson,
)
required String address,
}) = MiscToken;