toInt method

int? toInt()

Implementation

int? toInt() {
  return int.tryParse(this);
}