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