GoogleTypeMoney.fromJson constructor

GoogleTypeMoney.fromJson(
  1. Map _json
)

Implementation

GoogleTypeMoney.fromJson(core.Map _json)
    : this(
        currencyCode: _json.containsKey('currencyCode')
            ? _json['currencyCode'] as core.String
            : null,
        nanos: _json.containsKey('nanos') ? _json['nanos'] as core.int : null,
        units:
            _json.containsKey('units') ? _json['units'] as core.String : null,
      );