parseInt static method

int parseInt(
  1. dynamic value
)

Parses the dynamic value into a int. The value may be a String, int, double.

Implementation

static int parseInt(dynamic value) => parseDouble(value).toInt();