logout method Null safety
Performs a logout
Implementation
Future<void> logout() async {
final authClient = Get.find<AuthRestClient>().client;
await authClient.delete(null, endpoint: endpoint);
}
Performs a logout
Future<void> logout() async {
final authClient = Get.find<AuthRestClient>().client;
await authClient.delete(null, endpoint: endpoint);
}