WhereConditionItem.text constructor

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

Create a WhereConditionItem from a text.

Implementation

factory WhereConditionItem.text(
  String text, {
  LogicalType type = LogicalType.and,
}) {
  return TextWhereCondition(text, type: type);
}