onExit static method
Called when a user exits the Plaid Link flow.
Two arguments are returned.
error
The error code. (can be null)metadata
AnExitMetadata
object containing information about the last error encountered by the user (if any), institution selected by the user, and the most recent API request ID, and the Link session ID.
For more information see https://plaid.com/docs/#onexit-callback
Implementation
static void onExit(LinkExitHandler listener) => _platform.onExit = listener;