Incident constructor
- ArcGISPoint point
Creates an incident instance with point.
Creates an incident.
Parameters:
point
— A point.
Implementation
factory Incident(
ArcGISPoint point,
) {
_initializeArcGISEnvironmentIfNeeded();
final handle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_Incident_createWithPoint(
point._handle,
errorHandler,
);
});
return Incident._withHandle(handle);
}