Commission constructor

Commission({
  1. CommissionRates? commissionRates,
  2. Timestamp? updateTime,
})

Implementation

factory Commission({
  CommissionRates? commissionRates,
  $3.Timestamp? updateTime,
}) {
  final _result = create();
  if (commissionRates != null) {
    _result.commissionRates = commissionRates;
  }
  if (updateTime != null) {
    _result.updateTime = updateTime;
  }
  return _result;
}