toInt property

int toInt

Implementation

int get toInt {
  try {
    return int.parse(this);
  } catch (e) {
    Logger('StringAnko').log(Level.SEVERE, e);
    throw Exception('Invalid Number');
  }
}