addNamed method

void addNamed(
  1. String name,
  2. Iterable<String?> tokens
)

Implementation

void addNamed(String name, Iterable<String?> tokens) {
  for (final t in tokens) {
    if (t?.isNotEmpty == true) {
      add(FTSToken(t!, name: name));
    }
  }
}