key property

  1. @override
String key
override

The key used to save the data in the cache. This key must be unique. If you have multiple repositories with the same key, the cache will be overwritten.

Implementation

@override
String get key {
  return [
    ...repositories.map((r) => r.key),
    if (tag != null) tag,
  ].join('-').hashCode.toString();
}