copyWith method

MapUserModel copyWith({
  1. String? address,
  2. String? phone,
  3. String? floor,
  4. String? entrance,
  5. String? house,
  6. String? comment,
  7. LocationModel? locationModel,
})

Implementation

MapUserModel copyWith({
  String? address,
  String? phone,
  String? floor,
  String? entrance,
  String? house,
  String? comment,
  LocationModel? locationModel,
}) =>
    MapUserModel(
      address: address ?? this.address,
      phone: phone ?? this.phone,
      floor: floor ?? this.floor,
      entrance: entrance ?? this.entrance,
      house: house ?? this.house,
      comment: comment ?? this.comment,
      locationModel: locationModel ?? this.locationModel,
    );