OSPolicyResourceGroup.fromJson constructor

OSPolicyResourceGroup.fromJson(
  1. Map json_
)

Implementation

OSPolicyResourceGroup.fromJson(core.Map json_)
    : this(
        inventoryFilters: json_.containsKey('inventoryFilters')
            ? (json_['inventoryFilters'] as core.List)
                .map((value) => OSPolicyInventoryFilter.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        resources: json_.containsKey('resources')
            ? (json_['resources'] as core.List)
                .map((value) => OSPolicyResource.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );