name property
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();
}
Implementation
set name(String value) {
final coreValue = _CString(value);
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_Layer_setName(
_handle,
coreValue.bytes,
errorHandler,
);
});
}