name property

String name

The layer's uniquely-identifying name.

A WMS layer can be displayed if it has a name. If the WMS layer has a name, its sublayers (WmsLayerInfo.sublayerInfos) are displayed if the WMS layer is displayed. If the WMS layer does not have a name but has a title, it is just a category for other sublayers.

Implementation

String get name {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_WMSLayerInfo_getName(
      _handle,
      errorHandler,
    );
  });
  return stringHandle.toDartString();
}