onError static method

void onError(
  1. InquiryErrorCallback listener
)

Called when there is a problem during the Inquiry flow.

  • error the reason why the Inquiry did not complete correctly

Implementation

static void onError(InquiryErrorCallback listener) =>
    _platform.onError = listener;