ForwardingRulesScopedList.fromJson constructor

ForwardingRulesScopedList.fromJson(
  1. Map json_
)

Implementation

ForwardingRulesScopedList.fromJson(core.Map json_)
    : this(
        forwardingRules: json_.containsKey('forwardingRules')
            ? (json_['forwardingRules'] as core.List)
                .map((value) => ForwardingRule.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? ForwardingRulesScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );