copyWith method
PublicTransportTransfer
copyWith({
- String? startPointName,
- String? finishPointName,
- List<
PublicRoutePart> ? routeParts,
Implementation
PublicTransportTransfer copyWith({
String? startPointName,
String? finishPointName,
List<PublicRoutePart>? routeParts
}) {
return PublicTransportTransfer(
startPointName: startPointName ?? this.startPointName,
finishPointName: finishPointName ?? this.finishPointName,
routeParts: routeParts ?? this.routeParts
);
}