copyWith method

ChatLocation copyWith({
  1. Location? location,
  2. String? address,
})

Implementation

ChatLocation copyWith({
  Location? location,
  String? address,
}) =>
    ChatLocation(
      location: location ?? this.location,
      address: address ?? this.address,
    );