char property
String?
get
char
Returns the character if this is a single character key, or null.
Implementation
String? get char {
if (type == KeyType.runes && runes.isNotEmpty) {
return String.fromCharCodes(runes);
}
return null;
}