asRef method

EagerRef<T> asRef({
  1. String? tag,
  2. bool? isPermanent,
  3. ZenScope? scope,
})

Create a reference to this instance

Implementation

EagerRef<T> asRef({
  String? tag,
  bool? isPermanent,
  ZenScope? scope,
}) {
  put(tag: tag, isPermanent: isPermanent, scope: scope);
  return EagerRef<T>(tag: tag, scope: scope);
}