TradeCurrency constructor
TradeCurrency({
- String? code,
- String? name,
- CryptoCurrency? cryptoCurrency,
- TraditionalCurrency? traditionalCurrency,
Implementation
factory TradeCurrency({
$core.String? code,
$core.String? name,
CryptoCurrency? cryptoCurrency,
TraditionalCurrency? traditionalCurrency,
}) {
final $result = create();
if (code != null) {
$result.code = code;
}
if (name != null) {
$result.name = name;
}
if (cryptoCurrency != null) {
$result.cryptoCurrency = cryptoCurrency;
}
if (traditionalCurrency != null) {
$result.traditionalCurrency = traditionalCurrency;
}
return $result;
}