copyWith method
A copy of this value with the given members replaced.
Implementation
StyleExpressionInputs copyWith({
double? zoom,
double? colorRampParameter,
Object? feature = _unchanged,
Object? featureState = _unchanged,
Object? globalState = _unchanged,
CanonicalTileId? canonicalTileId,
List<String>? availableImages,
}) => StyleExpressionInputs(
zoom: zoom ?? this.zoom,
colorRampParameter: colorRampParameter ?? this.colorRampParameter,
feature: identical(feature, _unchanged) ? this.feature : feature,
featureState: identical(featureState, _unchanged)
? this.featureState
: featureState,
globalState: identical(globalState, _unchanged)
? this.globalState
: globalState,
canonicalTileId: canonicalTileId ?? this.canonicalTileId,
availableImages: availableImages ?? this.availableImages,
);