reducedIM property Null safety

bool reducedIM
@JsonKey(defaultValue: false), final

Specify whether the scene is non-intensive messaging (use with caution)

The default value is false, which indicates an intensive messaging scene. Non-intensive messaging scene: The app only uses the messaging capability on demand at times. Automatic login is not required when the app starts. Notification messages and data are not required to be synced in real time. In this case, set the value to true.

In the non-intensive messaging scenarios, the SDK will not start the push process during the initialization process (persistent connection with the CommsEase server)., and will delay the lazy start until the manual login process. In the non-intensive messaging scenarios, the life cycle of the push process is the same as that of the UI process. When the UI process is killed, the push process will quit without occupying system resources and the connection to the CommsEase server will not be kept. Note: In non-intensive messaging scenarios, do not use automatic login. If automatic login is used, this setting will become invalid automatically.

Implementation

@JsonKey(defaultValue: false)
final bool reducedIM;