SuccessCallback<T> typedef

  1. @Deprecated('This type will be removed. Use the "DataCallback" instead.')
SuccessCallback<T> = void Function(BuildContext context, T data)

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

Implementation

@Deprecated('This type will be removed. Use the "DataCallback" instead.')
typedef SuccessCallback<T> = void Function(BuildContext context, T data);