asInt property Null safety

int? asInt

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

Otherwise, returns null.

Implementation

int? get asInt => fuzzyAsInt(value);