copyWith method

SourceFeatureQueryOptions copyWith({
  1. List<String>? sourceLayerIds,
  2. Object? filter = _unchanged,
})

A copy of this value with the given members replaced.

Implementation

SourceFeatureQueryOptions copyWith({
  List<String>? sourceLayerIds,
  Object? filter = _unchanged,
}) => SourceFeatureQueryOptions(
  sourceLayerIds: sourceLayerIds ?? this.sourceLayerIds,
  filter: identical(filter, _unchanged) ? this.filter : filter,
);