mutate method
void
mutate(
- T updater(
- T? current
Applies a local mutation to the current data.
Implementation
void mutate(T Function(T? current) updater) {
setData(updater(snapshot.data));
}