copyWith method

StreetNumber copyWith({
  1. String? direction,
  2. num? distance,
  3. LatLng? latLonPoint,
  4. String? number,
  5. String? street,
})

Implementation

StreetNumber copyWith({
  String? direction,
  num? distance,
  LatLng? latLonPoint,
  String? number,
  String? street,
}) {
  return StreetNumber(
    direction: direction ?? this.direction,
    distance: distance ?? this.distance,
    latLonPoint: latLonPoint ?? this.latLonPoint,
    number: number ?? this.number,
    street: street ?? this.street,
  );
}