copyWith abstract method

  1. @useResult
CacheInfo copyWith({
  1. int? numEntries,
  2. int? maxEntries,
  3. List<String>? keys,
})

Returns a shallow copy of this CacheInfo with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
CacheInfo copyWith({
  int? numEntries,
  int? maxEntries,
  List<String>? keys,
});