copyWith method

EntranceGeometry copyWith({
  1. List<GeoPoint>? entrancePoints,
  2. List<List<GeoPoint>>? entrancePolylines,
})

Implementation

EntranceGeometry copyWith({
  List<GeoPoint>? entrancePoints,
  List<List<GeoPoint>>? entrancePolylines
}) {
  return EntranceGeometry(
    entrancePoints: entrancePoints ?? this.entrancePoints,
    entrancePolylines: entrancePolylines ?? this.entrancePolylines
  );
}