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