asInt property

int? get asInt

If this is an integer according to isInt, returns value as an int.

Otherwise, returns null.

Implementation

int? get asInt => fuzzyAsInt(value);