callFunction method
Implementation
Future<void> callFunction() async {
if (_stateRowData?.type != SettingDataType.kWidgetButtonData)
return;
else {
final SettingsButtonConfig? tmp = _stateRowData as SettingsButtonConfig?;
await tmp!.functionToCall();
}
}