Filter.fromJson constructor

Filter.fromJson(
  1. Map json_
)

Implementation

Filter.fromJson(core.Map json_)
    : this(
        exclusionFilters: json_.containsKey('exclusionFilters')
            ? (json_['exclusionFilters'] as core.List)
                .map((value) => ResourceSelector.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        inclusionFilters: json_.containsKey('inclusionFilters')
            ? (json_['inclusionFilters'] as core.List)
                .map((value) => ResourceSelector.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );