copyWith method
Implementation
Query copyWith({
List<List<num>>? coordinates,
String? profile,
String? preference,
String? format,
String? units,
String? language,
String? instructionsFormat,
bool? elevation,
List<String>? extraInfo,
AlternativeRoutes? alternativeRoutes,
}) =>
Query(
coordinates: coordinates ?? this.coordinates,
profile: profile ?? this.profile,
preference: preference ?? this.preference,
format: format ?? this.format,
units: units ?? this.units,
language: language ?? this.language,
instructionsFormat: instructionsFormat ?? this.instructionsFormat,
elevation: elevation ?? this.elevation,
extraInfo: extraInfo ?? this.extraInfo,
alternativeRoutes: alternativeRoutes ?? this.alternativeRoutes,
);