isNullOrNumeric property

bool get isNullOrNumeric

isNullOrNumeric: checks if the string is null or numeric

Implementation

bool get isNullOrNumeric {
  if (isNull) return true;
  if (this!.isEmpty) return false;
  return isNumeric;
}