SuccessCallback<T> typedef

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

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

Implementation

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