myCallbackFunction method
Implementation
void myCallbackFunction(bool showConsent, bool isRefresh) {
setState(() {
widget.callbackData.showConsent = showConsent;
widget.callbackData.isRefresh = isRefresh;
if (widget.callbackData.isRefresh) {
refresh();
}
});
}