OnError typedef

OnError = void Function(HttpResponseException error)

Callbacks for LinkedIn Login error which returns HttpResponseException

HttpResponseException contains the error message and status code

Implementation

typedef OnError = void Function(HttpResponseException error);