isPercentage static method

bool isPercentage(
  1. String? percentageValue
)

Implementation

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