stopPinRequest method

Future<void> stopPinRequest(
  1. StopPinRequestDetails details
)

Stops the pin request started by the requestPin function. |details|: Contains the details about the reason for stopping the request flow. |callback|: To be used by Chrome to send to the extension the status from their request to close PIN dialog for user.

Implementation

Future<void> stopPinRequest(StopPinRequestDetails details) async {
  await promiseToFuture<void>(
      $js.chrome.certificateProvider.stopPinRequest(details.toJS));
}