KGramsMapLoader typedef

KGramsMapLoader = Future<KGramsMap> Function([Iterable<String>? terms])

A callback that asynchronously retrieves a KGramsMap subset for a collection of terms from a KGramsMap data source, usually persisted storage.

Loads the entire KGramsMap if terms is null.

Implementation

typedef KGramsMapLoader = Future<KGramsMap> Function([Iterable<String>? terms]);