onError method Null safety

void onError(
  1. EMError error
)

The message fails to be delivered.

Implementation

void onError(EMError error) {}