findFactSchemas method
Looks for fact schemas that match queryText
. Searches name, label, factTokens
Implementation
Future<List<FactDateSchemaQuery>> findFactSchemas(String queryText) async {
await isLoaded;
if (queryText.isNotEmpty != true) return [];
return (await attributeSchemas.values
.whereNotRestricted()
.search(queryText, isMatchAll: true))
.toList();
}