readOnly method
Returns a read-only view of the ValueNotifier.
Implementation
ValueListenable<T> readOnly() {
return ValueNotifierUnmodifiableView(this);
}
Returns a read-only view of the ValueNotifier.
ValueListenable<T> readOnly() {
return ValueNotifierUnmodifiableView(this);
}