LpUnderlyingTokens constructor
Constructs a new LpUnderlyingTokens instance.
Parameters:
symbol
– The symbol of the underlying token.name
– The name of the underlying token.address
– The address of the underlying token.
The @JsonKey
annotations are used to customize the serialization and
deserialization of the name
and address
properties.
Implementation
@Implements<IToken>()
factory LpUnderlyingTokens({
required String symbol,
@JsonKey(
fromJson: nameFromJson,
)
required String name,
@JsonKey(
fromJson: addressFromJson,
)
required String address,
}) = _LpUnderlyingTokens;