ReturnPolicyPolicy.fromJson constructor

ReturnPolicyPolicy.fromJson(
  1. Map json_
)

Implementation

ReturnPolicyPolicy.fromJson(core.Map json_)
    : this(
        lastReturnDate: json_.containsKey('lastReturnDate')
            ? json_['lastReturnDate'] as core.String
            : null,
        numberOfDays: json_.containsKey('numberOfDays')
            ? json_['numberOfDays'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );