setInAppDebugLogging method

  1. @override
Future<void> setInAppDebugLogging(
  1. bool enabled
)
override

Turn the in-app message debug logs on or off

Implementation

@override
Future<void> setInAppDebugLogging(bool enabled) async {
  try {
    await methodChannel.invokeMethod('setInAppDebugLogging', {
      'enabled': enabled,
    });
  } on PlatformException catch (e) {
    throw GrovsException(
      e.message ?? 'Failed to set in-app debug logging',
      code: e.code,
    );
  }
}