TwitterAuthSession.fromMap constructor

TwitterAuthSession.fromMap(
  1. Map<String, dynamic> map
)

Constructs a new access token instance from a Map.

This is used mostly internally by this library.

Implementation

TwitterAuthSession.fromMap(Map<String, dynamic> map)
    : user = TwitterUser.fromMap(map),
      token = map['auth_token'],
      secret = map['auth_secret'];