FieldFilter.fromJson constructor

FieldFilter.fromJson(
  1. Map _json
)

Implementation

FieldFilter.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,
        value: _json.containsKey('value')
            ? Value.fromJson(
                _json['value'] as core.Map<core.String, core.dynamic>)
            : null,
      );