Filter.fromJson constructor

Filter.fromJson(
  1. Map _json
)

Implementation

Filter.fromJson(core.Map _json)
    : this(
        compositeFilter: _json.containsKey('compositeFilter')
            ? CompositeFilter.fromJson(_json['compositeFilter']
                as core.Map<core.String, core.dynamic>)
            : null,
        fieldFilter: _json.containsKey('fieldFilter')
            ? FieldFilter.fromJson(
                _json['fieldFilter'] as core.Map<core.String, core.dynamic>)
            : null,
        unaryFilter: _json.containsKey('unaryFilter')
            ? UnaryFilter.fromJson(
                _json['unaryFilter'] as core.Map<core.String, core.dynamic>)
            : null,
      );