value property

int? get value

The unnegated value represented by literal, or null if it can't be represented as an int, for example because of overflow.

This does not account for a surrounding unary minus or for conversion to double based on the literal's context. Use parseIntValue or parseDoubleValue when either distinction matters.

Implementation

int? get value;