copyWith method
Implementation
ObstacleInfo copyWith({
Obstacle? type,
ObstaclePassLimitation? limitation
}) {
return ObstacleInfo(
type: type ?? this.type,
limitation: limitation ?? this.limitation
);
}
ObstacleInfo copyWith({
Obstacle? type,
ObstaclePassLimitation? limitation
}) {
return ObstacleInfo(
type: type ?? this.type,
limitation: limitation ?? this.limitation
);
}