factory ApiError.fromJson(Map<String, dynamic> json) => ApiError( error: json['error'], message: json['message'], status: json['status'], );