TransitIncident constructor

TransitIncident(
  1. String? summary,
  2. String? description,
  3. TransitIncidentType? type,
  4. TransitIncidentEffect? effect,
  5. DateTime? validFrom,
  6. DateTime? validUntil,
  7. String? url,
)

Creates a new instance.

  • summary A human readable summary of the incident.
  • description A human readable description of the incident
  • type Type of the incident.
  • effect Effect of the incident.
  • validFrom Valid from.
  • validUntil Valid until.
  • url Link to the original incident published at the agency website.

Implementation

TransitIncident(this.summary, this.description, this.type, this.effect, this.validFrom, this.validUntil, this.url);