update abstract method

void update(
  1. String key,
  2. dynamic value
)

Update state for the given key with the provided value. The app decides how to persist (e.g. GetX, Bloc, Riverpod).

Implementation

void update(String key, dynamic value);