createRun method
Creates a build run record in Firestore.
Implementation
Future<void> createRun(String buildJobId, String runId) async {
final response = await _apiService.createRun(buildJobId, {'id': runId});
if (response.isSuccessful) {
return;
}
throw HttpException(
'Failed to create run on server: ${response.statusCode} ${response.error}',
);
}