setInAppNotificationsEnabled static method
Enables/disables showing in-app notifications when the user receives a new message.
isEnabled
A boolean to set whether notifications are enabled or disabled.
Implementation
static Future<void> setInAppNotificationsEnabled(bool isEnabled) async {
final List<dynamic> params = <dynamic>[isEnabled];
await _channel.invokeMethod<Object>('setChatNotificationEnabled:', params);
}