onError method
void
onError(
- void callback(
- dynamic err
Implementation
void onError(void callback(err)) => _conn.onError.listen((e) {
callback(e);
});
void onError(void callback(err)) => _conn.onError.listen((e) {
callback(e);
});