HealthIncident class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
HealthIncident({required DateTime startDate, DateTime? endDate, required String title, required List<
IncidentUpdate> incidentUpdates}) -
HealthIncident.fromJson(Map<
String, dynamic> json) -
factory
Properties
- endDate → DateTime?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
incidentUpdates
→ List<
IncidentUpdate> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startDate → DateTime
-
final
- title → String
-
final
Methods
-
copyWith(
{DateTime? startDate, DateTime? endDate, String? title, List< IncidentUpdate> ? incidentUpdates}) → HealthIncident -
Available on HealthIncident, provided by the $HealthIncidentExtension extension
-
copyWithWrapped(
{Wrapped< DateTime> ? startDate, Wrapped<DateTime?> ? endDate, Wrapped<String> ? title, Wrapped<List< ? incidentUpdates}) → HealthIncidentIncidentUpdate> > -
Available on HealthIncident, provided by the $HealthIncidentExtension extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const HealthIncident Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(HealthIncident instance)