shutdown method
Shutdown SDK shared instance.
Stops SDK services, sends the queued user data, and de-intialized the SDK.
After that is executed, the SDK State.uninitialized is triggered.
The force
parameter (default: true
) will discard pending data to be uploaded.
With force
= true shudown will always succseed.
Returns when shutdown completed or failed.
Implementation
Future<MoveShutdownResult> shutdown({bool force = true}) {
throw UnimplementedError('shutdown() has not been implemented.');
}