UnaryFilter.fromJson constructor

UnaryFilter.fromJson(
  1. Map _json
)

Implementation

UnaryFilter.fromJson(core.Map _json)
    : this(
        field: _json.containsKey('field')
            ? FieldReference.fromJson(
                _json['field'] as core.Map<core.String, core.dynamic>)
            : null,
        op: _json.containsKey('op') ? _json['op'] as core.String : null,
      );