debugDescribeKeys method
override
Returns a description of the key set that is short and readable.
Intended to be used in debug mode for logging purposes.
Implementation
@override
String debugDescribeKeys() {
String result = '';
assert(() {
final List<String> keys = <String>[
if (alt) 'Alt',
if (control) 'Control',
if (meta) 'Meta',
"'$character'",
];
result = keys.join(' + ');
return true;
}());
return result;
}