OnSuccessCallback<T> typedef
OnSuccessCallback<T> =
Future<void> Function(T result)
Function which will be invoked after successful mutation/query
Implementation
typedef OnSuccessCallback<T> = Future<void> Function(T result);