performPrivateCommand method Null safety

  1. @override
void performPrivateCommand(
  1. String action,
  2. Map<String, dynamic> data
)
override

Request from the input method that this client perform the given private command.

This can be used to provide domain-specific features that are only known between certain input methods and their clients.

See also:

  • performPrivateCommand, which is the Android documentation for performPrivateCommand, used to send a command from the input method.
  • sendAppPrivateCommand, which is the Android documentation for sendAppPrivateCommand, used to send a command to the input method.

Implementation

@override
void performPrivateCommand(String action, Map<String, dynamic> data) {
  widget.onAppPrivateCommand!(action, data);
}