requireParam method

String requireParam(
  1. String name
)

Implementation

String requireParam(String name) {
  final p = optionalParam(name);
  if (p == null) {
    throw ArgumentError();
  }
  return p;
}