SocketConnector constructor
SocketConnector({
- bool onBadCertificate(
- X509Certificate certificate
Creates an instance of SocketConnector.
onBadCertificate
: An optional callback for handling bad certificates.
Implementation
SocketConnector({this.onBadCertificate});