toDartInt property

int toDartInt

Returns a Dart int for the given JSNumber.

If the JSNumber is not an integer value, throws.

Implementation

external int get toDartInt;