copyWith method
Implementation
LocationState copyWith({
bool? followingUser,
LatLng? lastKnownLocation,
List<LatLng>? myLocationHistory,
}) =>
LocationState(
followingUser: followingUser ?? this.followingUser,
lastKnownLocation: lastKnownLocation ?? this.lastKnownLocation,
myLocationHistory: myLocationHistory ?? this.myLocationHistory,
);