logout method Null safety

Future<void> logout()

Performs a logout

Implementation

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