pause method
Implementation
void pause(String? appId, int seconds, int status) {
// The answer is for the app that sent the request; a start() with another appId may have replaced it since.
if (appId != this.appId) return;
final until = DateTime.now().add(Duration(seconds: min(seconds, _maxPause.inSeconds)));
pausedUntil = until;
token = null;
sessionLink = null;
Storage().setString(_pauseKey, jsonEncode({'appId': appId, 'sdkVersion': Login.currentSdkVersion, 'until': until.millisecondsSinceEpoch}));
InnerLog().w('paused until ${until.toUtc().toIso8601String()}: the server answered $status with x-shipbook-pause $seconds');
}