FilterConstraint.fromJson constructor

FilterConstraint.fromJson(
  1. Map<String, dynamic> jsonSerialization,
  2. SerializationManager serializationManager
)

Implementation

factory FilterConstraint.fromJson(
  Map<String, dynamic> jsonSerialization,
  _i1.SerializationManager serializationManager,
) {
  return FilterConstraint(
    type: serializationManager
        .deserialize<_i2.FilterConstraintType>(jsonSerialization['type']),
    column:
        serializationManager.deserialize<String>(jsonSerialization['column']),
    value:
        serializationManager.deserialize<String>(jsonSerialization['value']),
    value2: serializationManager
        .deserialize<String?>(jsonSerialization['value2']),
  );
}