onError method
void
onError(
- dynamic handler(
- dynamic data
listen to on error event
Implementation
void onError(Function(dynamic data) handler) {}
listen to on error event
void onError(Function(dynamic data) handler) {}