signOut method

  1. @override
Future<void> signOut()
override

Implementation

@override
Future<void> signOut() async {
  if (!enabled) throw Exception('siweConfig not enabled');

  final success = await _siweConfig!.signOut();
  if (!success) {
    throw W3MServiceException('signOut() from siweConfig failed');
  }
  _siweConfig!.onSignOut?.call();
}