toInt method

int toInt()

Implementation

int toInt() => int.tryParse(this) ?? 0;