GeographicTransformation.withStep constructor

GeographicTransformation.withStep(
  1. GeographicTransformationStep step
)

Create a single step transformation.

Parameters:

Implementation

factory GeographicTransformation.withStep(
  GeographicTransformationStep step,
) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeographicTransformation_createWithStep(
      step._handle,
      errorHandler,
    );
  });
  return GeographicTransformation._withHandle(handle);
}