asInt property

int get asInt

The value as a Dart int.

Implementation

int get asInt => intValue ?? value.toInt();