isSecure property

bool get isSecure

Whether the connection uses HTTPS

Implementation

bool get isSecure => url.startsWith('$_httpsScheme://');