isHttp property
bool
get
isHttp
Whether this is an http or https address.
Implementation
bool get isHttp => scheme == 'http' || scheme == 'https';
Whether this is an http or https address.
bool get isHttp => scheme == 'http' || scheme == 'https';