ApiErrorResponse.fromJson(Map<String, dynamic> json) { requestId = json['requestId']; error = ApiError.fromJson(json['error']); }