copyWith method

ConfigList copyWith({
  1. bool? isDeepEquals,
  2. bool? cacheHashCode,
})

Implementation

ConfigList copyWith({
  bool? isDeepEquals,
  bool? cacheHashCode,
}) {
  var config = ConfigList(
    isDeepEquals: isDeepEquals ?? this.isDeepEquals,
    cacheHashCode: cacheHashCode ?? this.cacheHashCode,
  );
  return (config == this) ? this : config;
}