AccidentDetail class
- Annotations
-
- @JsonSerializable()
Constructors
Properties
- borough ↔ String?
-
getter/setter pair
-
casualties
↔ List<
Casualty> ? -
getter/setter pair
- date ↔ DateTime?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
- lat ↔ double?
-
getter/setter pair
- location ↔ String?
-
getter/setter pair
- lon ↔ double?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity ↔ String?
-
getter/setter pair
-
vehicles
↔ List<
Vehicle> ? -
getter/setter pair
Methods
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
listFromJson(
List json) → List< AccidentDetail> -
mapFromJson(
Map< String, dynamic> json) → Map<String, AccidentDetail>