copyWith method

RouteDistance copyWith({
  1. int? millimeters,
})

Implementation

RouteDistance copyWith({
  int? millimeters
}) {
  return RouteDistance(
    millimeters ?? this.millimeters
  );
}