handleBuildJobStatusChange method
Handles Build Job status changes (notifications, etc).
Implementation
Future<void> handleBuildJobStatusChange(
BuildJob buildJob,
String status,
) async {
final response = await _apiService.handleBuildJobStatusChange(buildJob.id, {
'status': status,
});
if (response.isSuccessful) {
return;
}
throw HttpException(
'Failed to process status change on server: ${response.statusCode} ${response.error}',
);
}