onEvent static method

void onEvent(
  1. LinkEventHandler listener
)

Called when a Plaid Link event occurs.

Two arguments are returned.

  • eventName A string representing the event that has just occurred in the Link flow.
  • metadata An EventMetadata object containing information about the event.

For more information see https://plaid.com/docs/#onevent-callback

Implementation

static void onEvent(LinkEventHandler listener) =>
    _platform.onEvent = listener;