setDefaultUseHttpsStatus method

void setDefaultUseHttpsStatus(
  1. bool useHttps
)

setDefaultUseHttpsStatus sets a builder's _useHttpsByDefault field to true or false.

Setting _useHttpsByDefault to false forces the builder to use HTTP.

Implementation

void setDefaultUseHttpsStatus(bool useHttps) {
  _useHttpsByDefault = useHttps;
}