getDummyLogout method
Returns a stub logout response for development, without hitting the network.
Simulates a 300 ms delay and returns a success payload. Replace with logout once the real API endpoint is ready.
Implementation
Future<Response<dynamic>> getDummyLogout() async {
await Future<void>.delayed(const Duration(milliseconds: 300));
return Response<dynamic>(
data: <String, dynamic>{'message': 'Logged out'},
statusCode: 200,
requestOptions: RequestOptions(path: '/api/logout'),
);
}