FilterExpression.fromJson constructor

FilterExpression.fromJson(
  1. Map json_
)

Implementation

FilterExpression.fromJson(core.Map json_)
  : this(
      comparator: json_['comparator'] as core.String?,
      fieldSource: json_.containsKey('fieldSource')
          ? FieldSource.fromJson(
              json_['fieldSource'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      fieldSourceValue: json_.containsKey('fieldSourceValue')
          ? FieldSource.fromJson(
              json_['fieldSourceValue']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      isNegation: json_['isNegation'] as core.bool?,
      literalValue: json_['literalValue'],
    );