onError property

FutureOr<void> Function(ErrorCode code)? onError
getter/setter pair

@detail callback @author panjian.fishing @brief Error callback occurred. @param err BigInt, see: ErrorCode{@link #ErrorCode} for detailed definitions @note Error callback occurred. This callback is triggered when a network or media-related error occurs during the
SDK runtime and cannot be automatically recovered and you may need to intervene.and you may need to intervene.

Implementation

FutureOr<void> Function(ErrorCode code)? onError;