ObstacleInfo constructor

const ObstacleInfo({
  1. Obstacle type = Obstacle.other,
  2. ObstaclePassLimitation limitation = ObstaclePassLimitation.unlimited,
})

Implementation

const ObstacleInfo({
  this.type = Obstacle.other,
  this.limitation = ObstaclePassLimitation.unlimited
});