onError property
Callback when an error occurs.
This callback indicates that a network or media-related error occurred during SDK runtime. In most cases, errors reported by the SDK mean it cannot recover automatically and requires app intervention or user notification.
errError code. See ErrorCodeType.msgError description.
Implementation
final void Function(ErrorCodeType err, String msg)? onError;