getChar method

String getChar(
  1. int x,
  2. int y
)

Get a character at the specified coordinates

Implementation

String getChar(int x, int y) {
  final index = _getIndex(x, y);
  return String.fromCharCode(chars[index]);
}