UserRoadblockPathPreviewCoordinate.fromJson constructor

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

Deserializes a JSON-compatible map to create an instance.

Used internally, not intended for direct use by consumers. The expected map structure may change without notice.

Implementation

factory UserRoadblockPathPreviewCoordinate.fromJson(
  Map<String, dynamic> json,
) => UserRoadblockPathPreviewCoordinate._(
  coordinates: Coordinates.fromJson(json['coord']),
  matchLink: json['matchLink'],
  matchRatio: json['matchRatio'],
);