ReturnPolicyOnlineRestockingFee.fromJson constructor

ReturnPolicyOnlineRestockingFee.fromJson(
  1. Map json_
)

Implementation

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