onError method Null safety

void onError(
  1. {required HMSError error}
)

This will be called when there is an error in the system

and SDK has already retried to fix the error

  • Parameter error: the error that occurred

Implementation

void onError({required HMSError error});