DftMapLoader typedef

DftMapLoader = Future<Map<String, int>> Function([Iterable<String>? terms])

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

Loads the entire DftMap if terms is null.

Implementation

typedef DftMapLoader = Future<Map<String, int>> Function(
    [Iterable<String>? terms]);