onSuccess abstract method

OutOfBandPayloadDecode onSuccess(
  1. dynamic onSuccess(
    1. OutOfBandPayload?
    )
)

Specifies the object that will be invoked if the OutOfBandPayload was decoded.

IMPORTANT
Providing the onSuccess is required.

Params:

Returns: an OutOfBandPayloadDecode object.

Implementation

OutOfBandPayloadDecode onSuccess(Function(OutOfBandPayload?) onSuccess);