Utils function to evaluate the number from custom string
static int evalNumber(String text) { return int.tryParse(text) ?? -1; }