FilterExpression.fromJson constructor

FilterExpression.fromJson(
  1. Map json_
)

Implementation

FilterExpression.fromJson(core.Map json_)
    : this(
        caseSensitive: json_.containsKey('caseSensitive')
            ? json_['caseSensitive'] as core.bool
            : null,
        expressionValue: json_.containsKey('expressionValue')
            ? json_['expressionValue'] as core.String
            : null,
        field:
            json_.containsKey('field') ? json_['field'] as core.String : null,
        fieldIndex: json_.containsKey('fieldIndex')
            ? json_['fieldIndex'] as core.int
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        matchType: json_.containsKey('matchType')
            ? json_['matchType'] as core.String
            : null,
      );