SslError constructor

SslError({
  1. @Deprecated('Use code instead') AndroidSslError? androidError,
  2. SslErrorType? code,
  3. @Deprecated('Use code instead') IOSSslError? iosError,
  4. String? message,
})

Implementation

SslError(
    {@Deprecated('Use code instead') this.androidError,
    this.code,
    @Deprecated('Use code instead') this.iosError,
    this.message}) {
  code = code ?? SslErrorType.fromNativeValue(androidError?.toNativeValue());
  code = code ?? SslErrorType.fromNativeValue(iosError?.toNativeValue());
}