onSuccess method
dynamic
onSuccess(
- dynamic onSuccess(
- Response response,
- dynamic data
Set the onSuccess
callback for the request
Implementation
onSuccess(Function(Response response, dynamic data) onSuccess) {
_onSuccessEvent = onSuccess;
}