updateKeyboard method
- KeyboardConfig update(
- KeyboardConfig current
Rebuilds InteractionConfig.keyboard from its current value.
update receives the current KeyboardConfig and returns the replacement, so
nested configuration is edited without re-stating the enclosing config.
Implementation
InteractionConfig updateKeyboard(
KeyboardConfig Function(KeyboardConfig current) update,
) => copyWith(keyboard: update(keyboard));