onSuccess property

void Function(T data)? onSuccess
final

A callback that is called when the request succeeds.

Implementation

final void Function(T data)? onSuccess;