getOpacity method
Get current opacity.
Implementation
Future<double> getOpacity(String id) async {
final result = await send<double>('getOpacity', windowId: id);
if (result == null) {
debugPrint('[VisibilityClient] getOpacity($id) returned null — using fallback');
return 1.0;
}
return result;
}