copyWith method

Distances copyWith({
  1. num? order,
  2. num? deadHead,
})

Implementation

Distances copyWith({
  num? order,
  num? deadHead,
}) =>
    Distances(
      order: order ?? this.order,
      deadHead: deadHead ?? this.deadHead,
    );