SetCertificatesDetails constructor

SetCertificatesDetails({
  1. int? certificatesRequestId,
  2. Error? error,
  3. required List<ClientCertificateInfo> clientCertificates,
})

Implementation

SetCertificatesDetails({
  /// When called in response to [onCertificatesUpdateRequested], should
  /// contain the received `certificatesRequestId` value. Otherwise,
  /// should be unset.
  int? certificatesRequestId,

  /// Error that occurred while extracting the certificates, if any. This
  /// error
  /// will be surfaced to the user when appropriate.
  Error? error,

  /// List of currently available client certificates.
  required List<ClientCertificateInfo> clientCertificates,
}) : _wrapped = $js.SetCertificatesDetails(
        certificatesRequestId: certificatesRequestId,
        error: error?.toJS,
        clientCertificates: clientCertificates.toJSArray((e) => e.toJS),
      );