GateStatus constructor

GateStatus({
  1. required GateDecision decision,
  2. required DateTime notAfter,
  3. required String reason,
})

Creates a new GateStatus with the given decision, notAfter, and reason. The API user does not normally need to construct instances directly.

Parameters

  • decision: The decision of the gate status.
  • notAfter: The expiry time of the Gate.
  • reason: Short reason for the decision.

Implementation

GateStatus({
  required this.decision,
  required this.notAfter,
  required this.reason,
});