copyWith method

Implementation

PublicTransportDirectoryRouteDirectionNamesInfo copyWith({
  String? fromName,
  String? toName
}) {
  return PublicTransportDirectoryRouteDirectionNamesInfo(
    fromName: fromName ?? this.fromName,
    toName: toName ?? this.toName
  );
}