TransitIncident constructor - TransitIncident - routing library - Dart API
TransitIncident
TransitIncident constructor
- String? summary,
- String? description,
- TransitIncidentType? type,
- TransitIncidentEffect? effect,
- DateTime? validFrom,
- DateTime? validUntil,
- String? url,
Creates a new instance.
summaryA human readable summary of the incident.descriptionA human readable description of the incidenttypeType of the incident.effectEffect of the incident.validFromValid from.validUntilValid until.urlLink 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);