ConvertedOtherRegionsPrice.fromJson constructor

ConvertedOtherRegionsPrice.fromJson(
  1. Map json_
)

Implementation

ConvertedOtherRegionsPrice.fromJson(core.Map json_)
  : this(
      eurPrice:
          json_.containsKey('eurPrice')
              ? Money.fromJson(
                json_['eurPrice'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      usdPrice:
          json_.containsKey('usdPrice')
              ? Money.fromJson(
                json_['usdPrice'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );