Client class Null safety

client object

Constructors

Client({required ClientOptions options, String overrideSession = ""})
the main client object

Properties

accountId String
returns account id of client
read-only
auth FortniteAuth
auth client for client
read / write
campaign CampaignProfile
campaign profile for client
read / write
commonCore CommonCoreProfile
common core profile for client
read / write
deviceId String
returns device id of client
read-only
displayName String
returns display name of client
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
http HTTP
http client for client
late, final
onSessionUpdate Stream<Client>
returns the session update event stream
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secret String
returns device auth secret of client
read-only
session String
session for the account
read / write

Methods

getAvatars(List<String> accountIds) Future<List<Avatar>>
returns the avatar of the given account ids
log(LogLevel l, String message) → void
log function
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
refreshSession() Future
Refresh session of the account
send({required String method, required String url, dynamic body, bool dontRetry = false}) Future
send request to epic games [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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