isDigital static method

bool isDigital(
  1. String? text
)

Implementation

static bool isDigital(String? text) =>
    isNotEmpty(text) && regexDigital.hasMatch(text!);