copyWith method

IARoutingPoint copyWith({
  1. IACoordinate? coordinate,
  2. int? floor,
})

Implementation

IARoutingPoint copyWith({
  IACoordinate? coordinate,
  int? floor,
}) {
  return IARoutingPoint(
    coordinate ?? this.coordinate,
    floor ?? this.floor,
  );
}