copyWith method

AlternativeRoutes copyWith({
  1. num? targetCount,
  2. num? weightFactor,
  3. num? shareFactor,
})

Implementation

AlternativeRoutes copyWith({
  num? targetCount,
  num? weightFactor,
  num? shareFactor,
}) =>
    AlternativeRoutes(
      targetCount: targetCount ?? this.targetCount,
      weightFactor: weightFactor ?? this.weightFactor,
      shareFactor: shareFactor ?? this.shareFactor,
    );