charCode property

int charCode

Returns the character code if it is a keyboard event, or null if not.

Implementation

int get charCode => _safeOriginal((e) => e.charCode);