onFinishAuthentication method Null safety

void onFinishAuthentication(
  1. User user,
  2. Error error
)

Informs user authentication has been finished.

If succeeded, valid user object will be passed into the method. Otherwise, error contains information about authentication error.

Implementation

void onFinishAuthentication(User user, Error error) {}