onSuccess abstract method Null safety

Deregistration onSuccess(
  1. Function onSuccess
)

Specifies the object that will be invoked if the authenticator was deleted successfully.

IMPORTANT
Providing the onSuccess is required.

Params:

  • onSuccess: the Function which is invoked on successful deregistration.

Returns: a Deregistration object.

Implementation

Deregistration onSuccess(Function onSuccess);