ValueChange<T>.any constructor

ValueChange<T>.any(
  1. {bool quiet = false}
)

A change notification that doesn't include detailed information about the change. Will recycle the same object to minimize GC.

Implementation

factory ValueChange.any({bool quiet = false}) {
  if (quiet) return ValueChange<T>._any(quiet: true);

  return _anyCache[T] ??= ValueChange<T>._any();
}