targetFacilityCount property

int targetFacilityCount

Target facility count.

The -1 value means target facility count property is not considered, but default is used instead. Default value can be obtained from ClosestFacilityTaskInfo.defaultTargetFacilityCount method.

Implementation

int get targetFacilityCount {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Incident_getTargetFacilityCount(
      _handle,
      errorHandler,
    );
  });
}
void targetFacilityCount=(int value)

Implementation

set targetFacilityCount(int value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_Incident_setTargetFacilityCount(
      _handle,
      value,
      errorHandler,
    );
  });
}