at method

String? at(
  1. int i
)

The nth space-separated argument (not including the command itself)

Implementation

String? at(int i) {
  final idx = i+1;
  // ignore the command itself.
  if(idx >= args.length) {
    return null;
  }
  return args[idx];
}