onSuccess property
void Function(T response)
onSuccess
final
Callback for when the request is successful.
Implementation
final void Function(T response) onSuccess;
Callback for when the request is successful.
final void Function(T response) onSuccess;