PageArgSpec constructor

const PageArgSpec(
  1. String key,
  2. PageArgKind kind, {
  3. bool isRequired = false,
  4. Object? defaultValue,
  5. List<Enum> options = const [],
})

Creates a description of the argument stored under key.

Implementation

const PageArgSpec(
  this.key,
  this.kind, {
  this.isRequired = false,
  this.defaultValue,
  this.options = const [],
});