copyWith method
Implementation
MapState copyWith({
bool? isMapInitialized,
bool? isFollowingUser,
bool? showMyRoute,
Map<String, Polyline>? polylines,
Map<String, Marker>? markers,
}) =>
MapState(
isMapInitialized: isMapInitialized ?? this.isMapInitialized,
isFollowingUser: isFollowingUser ?? this.isFollowingUser,
showMyRoute: showMyRoute ?? this.showMyRoute,
polylines: polylines ?? this.polylines,
markers: markers ?? this.markers,
);