copyWith method
MapMovedEvent
copyWith({
- MapMoveEventType? type,
- LatLng? latLng,
- String? title,
- String? address,
- double? zoom,
- LatLngBounds? bounds,
Implementation
MapMovedEvent copyWith({
MapMoveEventType? type,
LatLng? latLng,
String? title,
String? address,
double? zoom,
LatLngBounds? bounds,
}) {
return MapMovedEvent(
type: type ?? this.type,
latLng: latLng ?? this.latLng,
title: title ?? this.title,
address: address ?? this.address,
zoom: zoom ?? this.zoom,
bounds: bounds ?? this.bounds,
);
}