toIntOrNull property

int? get toIntOrNull

Implementation

int? get toIntOrNull {
  if (isValidInt) return toInt();
  return null;
}