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