subscribeTo property
A map of widget ids and list of properties to subscribe to.
This property allows users to select the widgets for which they want to listen to the state changes. For example,
StateProvider(
...
subscribeTo: {
'result-component': [KeysToSubscribe.Results, KeysToSubscribe.From]
},
...
)
Implementation
final Map<String, List<KeysToSubscribe>>? subscribeTo;