OnSuccess typedef

OnSuccess = void Function(String response)

Callback for handling successful HTTP responses.

Implementation

typedef OnSuccess = void Function(String response);