toInt method

int toInt({
  1. int? radix,
})

The radix must be in the range 2..36. The digits used are first the decimal digits 0..9, and then the letters 'a'..'z' with values 10 through 35. Also accepts upper-case letters with the same values as the lower-case ones.

If no radix is given then it defaults to 10.

Implementation

int toInt({int? radix}) => int.parse(this, radix: radix);