LinkExitHandler typedef
LinkExitHandler =
void Function(LinkError? error, LinkExitMetadata metadata)
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
typedef void LinkExitHandler(LinkError? error, LinkExitMetadata metadata);