createComputed<V> method
Create a computed
Implementation
Computed<V> createComputed<V>(
V Function() cb, {
String? debugLabel,
bool autoDispose = true,
}) {
final s = computed<V>(
cb,
debugLabel: debugLabel,
autoDispose: autoDispose,
);
_watch(s, true);
return s;
}