setAutoSnapConfig method
Register auto-snap configuration for a palette.
When enabled, the palette will automatically snap to compatible palettes when dragged within proximity threshold.
Implementation
Future<void> setAutoSnapConfig(String paletteId, AutoSnapConfig config) async {
await send<void>('setAutoSnapConfig', params: {
'paletteId': paletteId,
'config': config.toMap(),
});
}