TreeReferenceMap<K, V> constructor

TreeReferenceMap<K, V>(
  1. K root, {
  2. bool autoPurge = false,
  3. bool keepPurgedKeys = false,
  4. Duration? purgedEntriesTimeout,
  5. int? maxPurgedEntries,
  6. K? parentGetter(
    1. K key
    )?,
  7. Iterable<K> childrenGetter(
    1. K key
    )?,
  8. bool childChecker(
    1. K parent,
    2. K child,
    3. bool deep
    )?,
})

Implementation

TreeReferenceMap(this.root,
    {this.autoPurge = false,
    bool keepPurgedKeys = false,
    this.purgedEntriesTimeout,
    this.maxPurgedEntries,
    this.parentGetter,
    this.childrenGetter,
    this.childChecker})
    : keepPurgedEntries = keepPurgedKeys;