toInt property

int get toInt

将字符串转为int

Implementation

int get toInt => int.parse(this);