isShiftValue static method

bool isShiftValue(
  1. String key
)

Implementation

static bool isShiftValue(String key) =>
    _shiftValues.contains(key) ||
    ('A'.codeUnitAt(0) <= key.codeUnitAt(0) &&
        key.codeUnitAt(0) <= 'Z'.codeUnitAt(0));