toValueNotifier method
Converts this to a ValueNotifier
Implementation
ValueNotifier<T> toValueNotifier() {
final notifier = _toValueNotifier(this);
notifier.addListener(() => set(notifier.value));
return notifier;
}
Converts this to a ValueNotifier
ValueNotifier<T> toValueNotifier() {
final notifier = _toValueNotifier(this);
notifier.addListener(() => set(notifier.value));
return notifier;
}