clear method

Future<void> clear()

Closes current connection, clears the local database, and unsubscribes device from Push Notifications.

Implementation

Future<void> clear() async {
  await _channel.invokeMethod<void>('session:clear');
}