Money.fromJson constructor
Money.fromJson(
- Map _json
Implementation
Money.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,
);