power static method

String? power(
  1. String? value
)

Validates power (must be positive)

Implementation

static String? power(String? value) {
  return positiveNumber(value);
}