copyWith method
RouteSearchPoint
copyWith({
- GeoPoint? coordinates,
- Optional<
Bearing?> ? course, - DgisObjectId? objectId,
- Optional<
LevelId?> ? levelId,
Implementation
RouteSearchPoint copyWith({
GeoPoint? coordinates,
Optional<Bearing?>? course,
DgisObjectId? objectId,
Optional<LevelId?>? levelId
}) {
return RouteSearchPoint(
coordinates: coordinates ?? this.coordinates,
course: course != null ? course.value : this.course,
objectId: objectId ?? this.objectId,
levelId: levelId != null ? levelId.value : this.levelId
);
}