RestockingFee.fromJson constructor

RestockingFee.fromJson(
  1. Map json_
)

Implementation

RestockingFee.fromJson(core.Map json_)
  : this(
      fixedFee: json_.containsKey('fixedFee')
          ? Price.fromJson(
              json_['fixedFee'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      microPercent: json_['microPercent'] as core.int?,
    );