TextWhereCondition constructor

TextWhereCondition(
  1. String text, {
  2. LogicalType type = LogicalType.and,
})

The where condition item for text.

It is recommended to use DateColumnWhereCondition or ColumnWhereCondition instead of this one, because different platforms may have different syntax.

If you are an advanced user and insist on using it, please understand the following:

  • Android: How to write where with ContentResolver.
  • iOS/macOS: How to format NSPredicate.

Implementation

TextWhereCondition(
  this.text, {
  LogicalType type = LogicalType.and,
}) : super(logicalType: type);