copyWith method
- bool? allowDots,
- bool? allowEmptyLists,
- int? listLimit,
- Encoding? charset,
- bool? charsetSentinel,
- bool? comma,
- bool? decodeDotInKeys,
- Pattern? delimiter,
- int? depth,
- Duplicates? duplicates,
- bool? ignoreQueryPrefix,
- bool? interpretNumericEntities,
- num? parameterLimit,
- bool? parseLists,
- bool? strictNullHandling,
- bool? strictDepth,
- Decoder? decoder,
Returns a new DecodeOptions instance with updated values.
Implementation
DecodeOptions copyWith({
bool? allowDots,
bool? allowEmptyLists,
int? listLimit,
Encoding? charset,
bool? charsetSentinel,
bool? comma,
bool? decodeDotInKeys,
Pattern? delimiter,
int? depth,
Duplicates? duplicates,
bool? ignoreQueryPrefix,
bool? interpretNumericEntities,
num? parameterLimit,
bool? parseLists,
bool? strictNullHandling,
bool? strictDepth,
Decoder? decoder,
}) =>
DecodeOptions(
allowDots: allowDots ?? this.allowDots,
allowEmptyLists: allowEmptyLists ?? this.allowEmptyLists,
listLimit: listLimit ?? this.listLimit,
charset: charset ?? this.charset,
charsetSentinel: charsetSentinel ?? this.charsetSentinel,
comma: comma ?? this.comma,
decodeDotInKeys: decodeDotInKeys ?? this.decodeDotInKeys,
delimiter: delimiter ?? this.delimiter,
depth: depth ?? this.depth,
duplicates: duplicates ?? this.duplicates,
ignoreQueryPrefix: ignoreQueryPrefix ?? this.ignoreQueryPrefix,
interpretNumericEntities:
interpretNumericEntities ?? this.interpretNumericEntities,
parameterLimit: parameterLimit ?? this.parameterLimit,
parseLists: parseLists ?? this.parseLists,
strictNullHandling: strictNullHandling ?? this.strictNullHandling,
strictDepth: strictDepth ?? this.strictDepth,
decoder: decoder ?? _decoder,
);