ResourcePoliciesScopedList.fromJson constructor

ResourcePoliciesScopedList.fromJson(
  1. Map json_
)

Implementation

ResourcePoliciesScopedList.fromJson(core.Map json_)
    : this(
        resourcePolicies: json_.containsKey('resourcePolicies')
            ? (json_['resourcePolicies'] as core.List)
                .map((value) => ResourcePolicy.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? ResourcePoliciesScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );