generate static method

MissingParameterException generate(
  1. String parameterName
)

Implementation

static MissingParameterException generate(String parameterName) {
  final message = ErrorMessages.format(
      ErrorMessages.missingRequiredParameter, [parameterName]);
  return MissingParameterException(message);
}