onLicenseWillExpire method
@hidden internal use only @detail callback @author wangyu.1705 @brief License expiration time reminder @param days Expiration time in days
Implementation
FutureOr<void> onLicenseWillExpire(dynamic days) async {
if ($instance == null || $instance is! IRTCEngineEventHandler) {
return;
}
return ($instance as IRTCEngineEventHandler)
.onLicenseWillExpire
?.call(int.tryParse(days.toString()) ?? 0);
}