isSecure property

bool get isSecure

Indicates if the Web server is running secured HTTPS or unsecured HTTP.

True means it is listening for requests over HTTPS. False means it is listening for requests over HTTP. Null means it is not running.

Implementation

bool get isSecure => _isSecure;