copyWith method

ConfigMap copyWith({
  1. bool? isDeepEquals,
  2. bool? sort,
  3. bool? cacheHashCode,
})

Implementation

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