get int by value str.
static int? getIntByValueStr(String valueStr, {int? defValue = 0}) { return int.tryParse(valueStr) ?? defValue; }