OrderLineItemReturnInfo.fromJson constructor

OrderLineItemReturnInfo.fromJson(
  1. Map json_
)

Implementation

OrderLineItemReturnInfo.fromJson(core.Map json_)
    : this(
        daysToReturn: json_.containsKey('daysToReturn')
            ? json_['daysToReturn'] as core.int
            : null,
        isReturnable: json_.containsKey('isReturnable')
            ? json_['isReturnable'] as core.bool
            : null,
        policyUrl: json_.containsKey('policyUrl')
            ? json_['policyUrl'] as core.String
            : null,
      );