DataCallback<T> typedef

DataCallback<T> = void Function(BuildContext context, T data)

Callback function for a success. The data was fetched and nonnull element was returned.

Implementation

typedef DataCallback<T> = void Function(BuildContext context, T data);