copyWith method
Implementation
TransientState<T> copyWith({
T? item,
LatLng? origin,
LatLng? current,
}) {
return TransientState<T>(
item: item ?? this.item,
origin: origin ?? this.origin,
current: current ?? this.current,
);
}
TransientState<T> copyWith({
T? item,
LatLng? origin,
LatLng? current,
}) {
return TransientState<T>(
item: item ?? this.item,
origin: origin ?? this.origin,
current: current ?? this.current,
);
}