DataProvider<T> typedef

DataProvider<T> = FutureOr<T> Function()

Callback to obtain data lazily. See DataFormat.lazy;

Implementation

typedef DataProvider<T> = FutureOr<T> Function();