copyWith method

ConfigMapOfSets copyWith({
  1. bool? isDeepEquals,
  2. bool? sortKeys,
  3. bool? sortValues,
  4. bool? removeEmptySets,
  5. bool? cacheHashCode,
})

Implementation

ConfigMapOfSets copyWith({
  bool? isDeepEquals,
  bool? sortKeys,
  bool? sortValues,
  bool? removeEmptySets,
  bool? cacheHashCode,
}) {
  var config = ConfigMapOfSets(
    isDeepEquals: isDeepEquals ?? this.isDeepEquals,
    sortKeys: sortKeys ?? this.sortKeys,
    sortValues: sortValues ?? this.sortValues,
    removeEmptySets: removeEmptySets ?? this.removeEmptySets,
    cacheHashCode: cacheHashCode ?? this.cacheHashCode,
  );
  return (config == this) ? this : config;
}