Money.fromJson constructor

Money.fromJson(
  1. 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,
      );