base static method

String base(
  1. ArgResults argResults,
  2. Never usageException(
    1. String message
    )
)

Implementation

static String base(
  ArgResults argResults,
  Never Function(String message) usageException,
) {
  final base = argResults.requireParam(_name);
  if (base.isEmpty) {
    usageException('base is empty');
  }
  return base;
}