setAttribution method

void setAttribution(
  1. String attribution
)

Sets the attribution string for the image tiled layer.

Parameters:

  • attribution — The attribution string.

Implementation

void setAttribution(
  String attribution,
) {
  final coreAttribution = _CString(attribution);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_ImageTiledLayer_setAttribution(
      _handle,
      coreAttribution.bytes,
      errorHandler,
    );
  });
}