MetadataFilter.fromJson constructor

MetadataFilter.fromJson(
  1. Map json_
)

Implementation

MetadataFilter.fromJson(core.Map json_)
    : this(
        filterLabels: json_.containsKey('filterLabels')
            ? (json_['filterLabels'] as core.List)
                .map((value) => MetadataFilterLabelMatch.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        filterMatchCriteria: json_.containsKey('filterMatchCriteria')
            ? json_['filterMatchCriteria'] as core.String
            : null,
      );