isNonNegativePercentage static method

bool isNonNegativePercentage(
  1. String? percentageValue
)

Implementation

static bool isNonNegativePercentage(String? percentageValue) {
  return percentageValue != null && _nonNegativePercentageRegExp.hasMatch(percentageValue);
}