setSSL method

void setSSL(
  1. bool ssl
)

set ssl

Implementation

void setSSL(bool ssl) {
  if (ssl.runtimeType != bool) {
    throw Exception('ssl must be a boolean');
  } else {
    this.ssl = ssl;
  }
}