updateStateContacts function
void
updateStateContacts({
- required BuildContext context,
- required StateContactType type,
- required String? value,
Used in Profile
to update state when contact details are updated
Implementation
void updateStateContacts({
required BuildContext context,
required StateContactType type,
required String? value,
}) {
StoreProvider.dispatch<CoreState>(
context, UpdateStateContactsAction(type: type, value: value ?? ''));
}