VolumeSaleInfoRetailPrice.fromJson constructor

VolumeSaleInfoRetailPrice.fromJson(
  1. Map json_
)

Implementation

VolumeSaleInfoRetailPrice.fromJson(core.Map json_)
    : this(
        amount: json_.containsKey('amount')
            ? (json_['amount'] as core.num).toDouble()
            : null,
        currencyCode: json_.containsKey('currencyCode')
            ? json_['currencyCode'] as core.String
            : null,
      );