riverpod
riverpod copied to clipboard
Throw an error if a family parameter's name conflicts with a local variable
Say a parameter is named "state". That wouldn't work because Ref.state and Notifier.state already exist, in which case there is a name conflict.
We should offer a proper error message for such scenarios.