onError method

void onError(
  1. dynamic err
)

Implementation

void onError(err) {
  print('udp got error: $err');
}