tryAsSafeInt property

int? get tryAsSafeInt

Implementation

int? get tryAsSafeInt {
  if (isSafeInt()) return toInt();
  return null;
}