AsyncOperationCompletedCallback<T> typedef

  1. @optionalTypeArgs
AsyncOperationCompletedCallback<T> = void Function(T result)

Callback which called when async operation is completed successfully The parameter is T which is asynchronous operation result.

Implementation

@optionalTypeArgs
typedef AsyncOperationCompletedCallback<T> = void Function(T result);