Future<bool> isPaused() async { bool? result = await _channel.invokeMethod('inApp.isPaused'); if (result == null) { throw NullThrownError(); } return result; }