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