resume method
Implementation
Future<void> resume() async {
this._watchStatus = WatchStatus.RESUMING;
Console.log(
'[realtime] client resuming with ${this._sessionInfo != null ? 'REBUILD_WATCH' : 'INIT_WATCH'} (${this._collectionName} ${this._query}) (${this.watchId})');
try {
if (this._sessionInfo != null) {
await this._rebuildWatch();
} else {
await this._initWatch();
}
} catch (e) {
Console.error(
'[realtime] client resume failed (${this._collectionName} ${this._query}) (${this.watchId}), error: ${e.toString()}');
}
}