onWarning property
@detail callback @author panjian.fishing @brief A warning occurred during the SDK runtime. The SDK usually recovers automatically and warnings can be ignored. @param warn Warning code. See WarningCode{@link #WarningCode}
Implementation
FutureOr<void> Function(WarningCode code)? onWarning;