Rate constructor
Rate({
- String? base,
- String? target,
- String? rate,
- Erc20Asset? erc20Base,
- Erc20Asset? erc20Target,
- Int64? timestamp,
Implementation
factory Rate({
$core.String? base,
$core.String? target,
$core.String? rate,
$1.Erc20Asset? erc20Base,
$1.Erc20Asset? erc20Target,
$fixnum.Int64? timestamp,
}) {
final result = create();
if (base != null) result.base = base;
if (target != null) result.target = target;
if (rate != null) result.rate = rate;
if (erc20Base != null) result.erc20Base = erc20Base;
if (erc20Target != null) result.erc20Target = erc20Target;
if (timestamp != null) result.timestamp = timestamp;
return result;
}