$Endpoint constructor Null safety

$Endpoint(
  1. {List<String>? aliases,
  2. bool? allowCors,
  3. String? name,
  4. String? target}
)

Implementation

$Endpoint({
  this.aliases,
  this.allowCors,
  this.name,
  this.target,
});