TrajectoryExactMatchInstance.fromJson constructor
TrajectoryExactMatchInstance.fromJson(
- Object? j
Implementation
factory TrajectoryExactMatchInstance.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return TrajectoryExactMatchInstance(
predictedTrajectory: switch (json['predictedTrajectory']) {
null => null,
Object $1 => Trajectory.fromJson($1),
},
referenceTrajectory: switch (json['referenceTrajectory']) {
null => null,
Object $1 => Trajectory.fromJson($1),
},
);
}