AuthObject class

Each RetroAchievements API call is uniquely authenticated using a userName + API key combination. Your account's personal Web API Key can be found on the Settings page.

Constructors

AuthObject({required String userName, required String webApiKey})
AuthObject.buildAuthorization({required String userName, required String webApiKey})
Accepts your RetroAchievements.org username and web API key. After receiving these inputs, the function returns you a value that can be used for the authentication parameter by any of the async calls in this library.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userName String
You or your app's exact username on the RetroAchievements.org website. For example, https://retroachievements.org/user/Scott would have a value of "Scott".
getter/setter pair
webApiKey String
This can be found in the "Keys" section of your Settings page on the RetroAchievements.org website. This is a 32-digit alphanumeric key that is case-sensitive.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited