fireAutomator method
Create your auto message in Appgain Dashboard required triggerPoint => Trigger that you named in dashboard
Implementation
Future fireAutomator({required String triggerPoint}) async {
var data = {'triggerPoint': triggerPoint};
try {
await _channel.invokeMethod(_createFireAutomator, data).then((result) {
logger.d('fireAutomator $result');
});
return 'Success';
} on PlatformException catch (e) {
logger.d(e);
return e;
}
}