callback property

Callback callback
final

Callback's are containers for functions which are called on an event such as on an error during a request process etc. They help to know what error occured and where it occured.

To register a callback, simply pass Callback instance with required parameters to this instance constructor.

Implementation

final Callback callback;