logout method

Future<void> logout()

Delete the token,

Implementation

Future<void> logout() async {
  /// clear the storage
  try {
    await _storage!.deleteAll();
  } catch (_) {
    /// TODO: handle the [PlatformException] here
  }
}