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