TextQuery constructor

TextQuery({
  1. String? text,
  2. bool? caseSensitive,
  3. bool? fullMatch,
})

Implementation

factory TextQuery({
  $core.String? text,
  $core.bool? caseSensitive,
  $core.bool? fullMatch,
}) {
  final result = create();
  if (text != null) result.text = text;
  if (caseSensitive != null) result.caseSensitive = caseSensitive;
  if (fullMatch != null) result.fullMatch = fullMatch;
  return result;
}