FilterExpression.fromJson constructor

FilterExpression.fromJson(
  1. Map _json
)

Implementation

FilterExpression.fromJson(core.Map _json)
    : this(
        andGroup: _json.containsKey('andGroup')
            ? FilterExpressionList.fromJson(
                _json['andGroup'] as core.Map<core.String, core.dynamic>)
            : null,
        filter: _json.containsKey('filter')
            ? Filter.fromJson(
                _json['filter'] as core.Map<core.String, core.dynamic>)
            : null,
        notExpression: _json.containsKey('notExpression')
            ? FilterExpression.fromJson(
                _json['notExpression'] as core.Map<core.String, core.dynamic>)
            : null,
        orGroup: _json.containsKey('orGroup')
            ? FilterExpressionList.fromJson(
                _json['orGroup'] as core.Map<core.String, core.dynamic>)
            : null,
      );