To access the state of a StateProvider or StateNotifierProvider:
Sometimes in the Riverpod documentation, the state variable is added after the watch function.
int count = watch(counterProvider).state;
However, my code where I am using a StateNotifier, works only if I refer to it inside watch. i.e
watch(myNotifier.state)
What are the differences?