copyWith method

LocationAddress copyWith({
  1. String? countryCode,
  2. String? state,
  3. String? city,
  4. String? street,
})

Implementation

LocationAddress copyWith({
  String? countryCode,
  String? state,
  String? city,
  String? street,
}) => LocationAddress(
  countryCode: countryCode ?? this.countryCode,
  state: state ?? this.state,
  city: city ?? this.city,
  street: street ?? this.street,
);