name property

  1. @override
String name
override

The layer content's name.

The layer content name.

Implementation

@override
String get name {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Layer_getName(
      _handle,
      errorHandler,
    );
  });
  return stringHandle.toDartString();
}
void name=(String value)

Implementation

set name(String value) {
  final coreValue = _CString(value);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_Layer_setName(
      _handle,
      coreValue.bytes,
      errorHandler,
    );
  });
}