isHttp property

bool get isHttp

Whether this is an http or https address.

Implementation

bool get isHttp => scheme == 'http' || scheme == 'https';