clone method

GeoModel clone()

Clones this instance of GeoModel and its members.

Return Value: A new GeoModel with the same values as the current GeoModel.

Implementation

GeoModel clone() {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeoModel_clone(
      _handle,
      errorHandler,
    );
  });
  return GeoModel._fromHandle(
    objectHandle,
  )!;
}