isIntercomPush method
To check if the push message
is for Intercom or not.
This is useful when your app is also configured to receive push messages
from third parties.
Implementation
@override
Future<bool> isIntercomPush(Map<String, dynamic> message) async {
if (!message.values.every((item) => item is String)) {
return false;
}
final result = await _channel
.invokeMethod<bool>('isIntercomPush', {'message': message});
return result ?? false;
}