clone method

TileCache clone()

Clones the TileCache.

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

Implementation

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