PossibleInterventionAddress class

Represents a physical address where a possible driving intervention may have occurred.

This data class holds the components of an address, such as street, city, and country. All properties are nullable strings, allowing for partial or incomplete address information.

Constructors

PossibleInterventionAddress({String? street, String? city, String? district, String? state, String? country, String? postalCode})
const
PossibleInterventionAddress.fromJson(Map<String, dynamic> json)
Factory constructor to create an instance from JSON.
factory

Properties

city String?
The city name. Example: "Mountain View"
final
country String?
The country name. Example: "USA"
final
district String?
The district or county. Example: "Santa Clara County"
final
hashCode int
The hash code for this object.
no setteroverride
postalCode String?
The postal or ZIP code. Example: "94043"
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
The state or province. Example: "CA"
final
street String?
The street name and number. Example: "1600 Amphitheatre Parkway"
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the instance to a JSON map.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override