onSuccess abstract method
- dynamic onSuccess( )
Specifies the object that will be invoked if the OutOfBandPayload was decoded.
IMPORTANT
Providing the onSuccess is required.
Params:
- onSuccess: the
Function
which receives an optional OutOfBandPayload.
Returns: an OutOfBandPayloadDecode object.
Implementation
OutOfBandPayloadDecode onSuccess(Function(OutOfBandPayload?) onSuccess);