executeButtonAction method
Implementation
@override
Future<void> executeButtonAction(String buttonId, String messageId) async {
try {
var result = await methodChannel.invokeMethod('executeButtonAction', {
'buttonId': buttonId,
'messageId': messageId
});
if (result != null) log.warning(result);
}
on PlatformException catch(exception) {
log.severe('Exception when executing button action: ${exception.message}');
}
}