ReturnPolicySeasonalOverride.fromJson constructor

ReturnPolicySeasonalOverride.fromJson(
  1. Map json_
)

Implementation

ReturnPolicySeasonalOverride.fromJson(core.Map json_)
    : this(
        endDate: json_.containsKey('endDate')
            ? json_['endDate'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        policy: json_.containsKey('policy')
            ? ReturnPolicyPolicy.fromJson(
                json_['policy'] as core.Map<core.String, core.dynamic>)
            : null,
        startDate: json_.containsKey('startDate')
            ? json_['startDate'] as core.String
            : null,
      );