setSelfSigned method

ClientIO setSelfSigned({
  1. bool status = true,
})

Implementation

ClientIO setSelfSigned({bool status = true}) {
  _nativeClient.badCertificateCallback =
      ((X509Certificate cert, String host, int port) => status);
  return this;
}