setEnabled method
Enable glass effect for a window.
Implementation
void setEnabled(String windowId, bool enabled) {
if (!_initialized) return;
final idPtr = windowId.toNativeUtf8().cast<Char>();
try {
_setEnabled(idPtr, enabled);
} finally {
calloc.free(idPtr);
}
}