DVPublicIncident class

An incident as the public sees it: its public updates and nothing else.

Constructors

DVPublicIncident({required String id, required String title, required DVIncidentStatus status, required DateTime openedAt, DateTime? resolvedAt, List<String> components = const <String>[], required List<DVPublicIncidentUpdate> updates})
const

Properties

components → List<String>
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
openedAt → DateTime
final
resolvedAt → DateTime?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → DVIncidentStatus
final
title → String
final
updates → List<DVPublicIncidentUpdate>
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) → DVPublicIncident