fix
This commit is contained in:
@@ -297,24 +297,4 @@ class NetworkManager {
|
||||
|
||||
return 'Unknown error';
|
||||
}
|
||||
|
||||
/// Simple request method for backward compatibility
|
||||
// Future<T> makeSimpleRequest<T>(
|
||||
// String endpoint,
|
||||
// T Function(Map<String, dynamic>) fromJson, {
|
||||
// String method = 'GET',
|
||||
// FormData? data,
|
||||
// }) async {
|
||||
// final result = await makeRequest(
|
||||
// endpoint,
|
||||
// fromJson,
|
||||
// method: method,
|
||||
// data: data,
|
||||
// );
|
||||
|
||||
// return switch (result) {
|
||||
// Ok(value: final value) => value,
|
||||
// Error(error: final error) => throw error,
|
||||
// };
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user