onError abstract method
- dynamic onError( )
Specifies the object that will be invoked if the OutOfBandPayload could not be decoded.
IMPORTANT
Providing the onError is required.
Params:
- onError: the
Function
which receives an OutOfBandPayloadError.
Returns: an OutOfBandPayloadDecode object.
Implementation
OutOfBandPayloadDecode onError(Function(OutOfBandPayloadError) onError);