onSuccess method
Calls the provided callback if the result is a success.
callback
is the function to be called with the value if the result is a success.
Implementation
@override
void onSuccess(void Function(T value) callback) {}
Calls the provided callback if the result is a success.
callback
is the function to be called with the value if the result is a success.
@override
void onSuccess(void Function(T value) callback) {}