copyWith method

PickedData copyWith({
  1. LatLong? latLong,
  2. String? addressName,
  3. Map<String, dynamic>? address,
})

Implementation

PickedData copyWith(
    {LatLong? latLong, String? addressName, Map<String, dynamic>? address}) {
  return PickedData(
      latLong: latLong ?? this.latLong,
      addressName: addressName ?? this.addressName,
      address: address ?? this.address);
}