Money constructor

Money({
  1. String? currencyCode,
  2. Int64? units,
  3. int? nanos,
})

Implementation

factory Money({
  $core.String? currencyCode,
  $fixnum.Int64? units,
  $core.int? nanos,
}) {
  final $result = create();
  if (currencyCode != null) {
    $result.currencyCode = currencyCode;
  }
  if (units != null) {
    $result.units = units;
  }
  if (nanos != null) {
    $result.nanos = nanos;
  }
  return $result;
}