KeyPrintableImpl constructor
const
KeyPrintableImpl(
- String char
Implementation
const KeyPrintableImpl(
this.char,
) : assert(
char.length == 1,
"The given character " +
char +
" must be a character i.e. of length 1.",
);