Open
Description
Desc
- Update here
final response = await _client.get(
...
).onError((error, stackTrace) => throw Exception(error));
- Create abs class
ErrorResponseHomeServer
abstract class ErrorResponseHomeServer {
final String? errorCode;
final String? errorMessage;
ErrorResponseHomeServer({
this.errorCode,
this.errorMessage,
});
}