KeyPrintableImpl constructor

const KeyPrintableImpl(
  1. String char
)

Implementation

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