SocketConnector constructor

SocketConnector({
  1. bool onBadCertificate(
    1. X509Certificate certificate
    )?,
})

Creates an instance of SocketConnector.

  • onBadCertificate: An optional callback for handling bad certificates.

Implementation

SocketConnector({this.onBadCertificate});