copyWith method
StaticMapController
copyWith({
- String? googleApiKey,
- int? width,
- int? height,
- List<
Marker> ? markers, - List<
Path> ? paths, - GeocodedLocation? center,
- int? zoom,
- MapScale? scale,
- MapImageFormat? format,
- StaticMapType? maptype,
- String? language,
- String? region,
- String? signature,
Implementation
StaticMapController copyWith({
String? googleApiKey,
int? width,
int? height,
List<Marker>? markers,
List<Path>? paths,
GeocodedLocation? center,
int? zoom,
MapScale? scale,
MapImageFormat? format,
StaticMapType? maptype,
String? language,
String? region,
String? signature,
}) =>
StaticMapController(
googleApiKey: googleApiKey ?? this.googleApiKey,
width: width ?? this.width,
height: height ?? this.height,
markers: markers ?? this.markers,
paths: paths ?? this.paths,
center: center ?? this.center,
zoom: zoom ?? this.zoom,
scale: scale ?? this.scale,
format: format ?? this.format,
maptype: maptype ?? this.maptype,
language: language ?? this.language,
region: region ?? this.region,
signature: signature ?? this.signature,
);