logout method
Implementation
Future<void> logout(BuildContext context) async {
final state = globalKey.currentState;
if (state != null) {
await state.logout(context);
}
}
Future<void> logout(BuildContext context) async {
final state = globalKey.currentState;
if (state != null) {
await state.logout(context);
}
}