number method

int number()

The digits as an int. "Order #42" → 42

Implementation

int number() => replaceAll(_nonDigits, "").toInt();