toParseInt method

int? toParseInt()

Implementation

int? toParseInt() {
  String? value = this;
  return int.tryParse(value.toString());
}