toValueNotifier method
Would love extension functions for this
Implementation
ValueNotifier<T> toValueNotifier({bool sync = false}) {
final notifier = ValueNotifier<T>(internalTracked.tracked);
syncToSingleValue(this as SingleValue<T>, notifier);
if (sync) {
syncToValueNotifier(notifier, this as SingleValue<T>);
}
return notifier;
}