setIncidents method
Sets incidents.
The set of incidents loaded as network locations during analysis.
Parameters:
Implementation
void setIncidents(
List<Incident> incidents,
) {
final coreIncidents = incidents.toMutableArray(
valueType: _ElementType.incident,
);
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_ClosestFacilityParameters_setIncidents(
_handle,
coreIncidents._handle,
errorHandler,
);
});
}