ServerError.fromJson constructor
Implementation
ServerError.fromJson(Map<String, dynamic> json) {
error = ErrorMessage.fromJson(json['error']);
//timestamp = json['timestamp'];
//status = json['status'];
//error = json['error'];
message = error!.message;//json['message'];
//path = json['path'];
}