key property

  1. @protected
String key

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

@protected
String get key {
  return (runtimeType.toString().hashCode + (tag?.hashCode ?? 0)).toString();
}