Incident constructor

Incident(
  1. {required ArcGISPoint point}
)

Creates an incident instance with point.

Creates an incident.

Parameters:

  • point — A point.

Implementation

factory Incident({required ArcGISPoint point}) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Incident_createWithPoint(
        point._handle, errorHandler);
  });
  return Incident._withHandle(handle);
}