stringArg method

String? stringArg(
  1. String name
)

Gets the parsed command-line option named name as String.

Implementation

String? stringArg(String name) {
  final arg = this[name];
  if (arg == 'null' || arg == Null || (arg == null || arg.isEmpty)) {
    return null;
  }
  return arg;
}