isValidPath static method

bool isValidPath(
  1. String? path
)

Implementation

static bool isValidPath(String? path) {
  return path != null && path.isNotEmpty && Regs.path.hasMatch(path);
}