onWarning property

FutureOr<void> Function(WarningCode code)? onWarning
getter/setter pair

@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;