DVIncident class
An incident and its timeline.
Constructors
-
DVIncident({required String id, required String title, required DateTime openedAt, DVIncidentStatus status = DVIncidentStatus.investigating, DateTime? resolvedAt, List<
String> components = const <String>[], List<DVIncidentEntry> timeline = const <DVIncidentEntry>[], Set<String> rules = const <String>{}, Set<String> crashFingerprints = const <String>{}, String? titleSource})
Properties
-
components
→ List<
String> -
The status-page components it affects.
final
-
crashFingerprints
→ Set<
String> -
The crash groups linked into it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- isOpen → bool
-
no setter
- openedAt → DateTime
-
final
- publicTitle → String
-
The title a status page shows.
no setter
- resolvedAt ↔ DateTime?
-
getter/setter pair
-
rules
→ Set<
String> -
The alert rules that opened or joined it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ DVIncidentStatus
-
getter/setter pair
-
timeline
→ List<
DVIncidentEntry> -
final
- title ↔ String
-
getter/setter pair
- titleSource ↔ String
-
Who wrote title:
alert,crashorhuman, as for an entry.getter/setter pair
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) → DVIncident