AuthorizationResponse.fromMap constructor
Implementation
factory AuthorizationResponse.fromMap(Map<String, String> parameters) {
final Map<String, String> paramsCopy = Map<String, String>.from(parameters);
final Credentials cred = Credentials.fromMap(paramsCopy);
paramsCopy.remove('oauth_token');
paramsCopy.remove('oauth_token_secret');
return AuthorizationResponse(cred, paramsCopy);
}