logout method

Future<void> logout()

Logout user

Implementation

Future<void> logout() async {
  await dio.delete('/api/logout');
}