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