BannerInstructions.fromJson constructor

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

Implementation

BannerInstructions.fromJson(Map<String, dynamic> json) {
  distanceAlongGeometry = json['distanceAlongGeometry'];
  primary =
      json['primary'] != null ? Primary.fromJson(json['primary']) : null;
}