onSuccess property

void Function(T response) onSuccess
final

Callback for when the request is successful.

Implementation

final void Function(T response) onSuccess;