DVIncidentEntry class
One line of an incident's timeline.
Constructors
- DVIncidentEntry({required DateTime at, required String message, DVIncidentStatus? status, bool public = false, String source = 'human', String? actor})
-
const
Properties
- actor → String?
-
Who wrote it, for an entry a person wrote. Kept on the timeline and
never published: a status page names what happened, not who typed it.
final
- at → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
final
- public → bool
-
Whether a status page shows it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
alert,crashorhuman.final - status → DVIncidentStatus?
-
The status this entry moved the incident to, if it moved it.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, Object?> json) → DVIncidentEntry