isRunning method
override
Indicates if the server is running or not.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Use the PlatformInAppLocalhostServer.isMethodSupported method to check if this method is supported at runtime.
Implementation
@override
bool isRunning() {
return this._server != null;
}