Dart
dart:core
num
toInt abstract method
toInt
Dart
dart:core
num
toInt abstract method
num class
Constructors
num
Properties
hashCode
isFinite
isInfinite
isNaN
isNegative
runtimeType
sign
Methods
abs
ceil
ceilToDouble
clamp
compareTo
floor
floorToDouble
noSuchMethod
remainder
round
roundToDouble
toDouble
toInt
toString
toStringAsExponential
toStringAsFixed
toStringAsPrecision
truncate
truncateToDouble
Operators
operator %
operator *
operator +
operator -
operator /
operator <
operator <=
operator ==
operator >
operator >=
operator unary-
operator ~/
Static methods
parse
tryParse
description
toInt
method
Null safety
int
toInt
(
)
Truncates this
num
to an integer and returns the result as an
int
.
Implementation
int toInt();
Cookies management controls