onRegistration abstract method

OutOfBandOperation onRegistration(
  1. dynamic onRegistration(
    1. OutOfBandRegistration
    )
)

Specifies the object that will handle the OutOfBandRegistration object associated with the out-of-band payload.

IMPORTANT
Providing at least one of the onRegistration or onAuthentication callbacks is required.

Params:

  • onRegistration: the Function that will be invoked in case of registration.

Returns: an OutOfBandOperation object.

Implementation

OutOfBandOperation onRegistration(
  Function(OutOfBandRegistration) onRegistration,
);