stop method

Future<void> stop()

Stops the underlying DataStore's synchronization with a remote system, if DataStore is configured to support remote synchronization.

Synchronization processes will be restarted on the next interaction with the DataStore, or can be restarted manually by calling start.

Implementation

Future<void> stop() {
  return plugins.length == 1
      ? plugins[0].stop()
      : throw _pluginNotAddedException('DataStore');
}