Intersections.fromJson constructor

Intersections.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Intersections.fromJson(Map<String, dynamic> json) {
  location = json['location'].cast<num>();
  bearings = json['bearings'].cast<num>();
  entry = json['entry'] != null ? json['entry'].cast<bool>() : [];
  outIntersection = json['out'];
  inIntersection = json['in'];
}