authTypeToError static method
Implementation
static String authTypeToError(error) {
switch (error) {
case LinkedInAuthErrorType.userCancelledLogin:
return 'user_cancelled_login';
case LinkedInAuthErrorType.userCancelledAuthorize:
return 'user_cancelled_authorize';
default:
return 'Other';
}
}