VolumeSaleInfoOffersRentalDuration.fromJson constructor

VolumeSaleInfoOffersRentalDuration.fromJson(
  1. Map json_
)

Implementation

VolumeSaleInfoOffersRentalDuration.fromJson(core.Map json_)
    : this(
        count: json_.containsKey('count')
            ? (json_['count'] as core.num).toDouble()
            : null,
        unit: json_.containsKey('unit') ? json_['unit'] as core.String : null,
      );