requirePathParameter method

String requirePathParameter(
  1. String name
)

Implementation

String requirePathParameter(String name) {
  final value = uriParams?[name];
  if (value == null) throw FormatException('Missing path parameter: $name');
  return value;
}