numericValue property Null safety

int? numericValue

Give the numeric value of a number key. cf. tests.dart, SelfTests.testNumbers().

Implementation

int? get numericValue => (_opCode >= 0 && _opCode < 16) ? _opCode : null;