GateStatus class Activation
Gives more details about the status of a gate, such as the decision, the time until which the decision is valid, and a reason for the decision.
Use the GateKeeperService.getStatus to obtain the GateStatus for a specific gate.
- Annotations
Constructors
- GateStatus({required GateDecision decision, required DateTime notAfter, required String reason})
-
Creates a new GateStatus with the given
decision,notAfter, andreason. The API user does not normally need to construct instances directly. -
GateStatus.fromJson(Map<
String, dynamic> json) -
Deserializes a JSON-compatible map to create an instance.
factory
Properties
- decision → GateDecision
-
The decision of the gate status.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- notAfter → DateTime
-
The expiry time of the Gate (UTC).
final
- reason → String
-
Short reason for the decision
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited