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
athena AthenaProfile
athena profile for client
read / write
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-onlyinherited
http HTTP
http client for client
latefinal
onInvalidAccount Stream<InvalidAccountException>
returns the invalid account event stream
read-only
onSessionUpdate Stream<Client>
returns the session update event stream
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
secret String
returns device auth secret of client
read-only
session String
session for the account
read / write

Methods

findPlayers(String prefix) Future<List<Player>>
find players by name
get(String url, {String? overrideToken}) Future
send a get request to epic games.
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
post(String url, {dynamic body = const {}, String? overrideToken}) Future
send a post request to epic games.
refreshSession() Future
Refresh session of the account
send({required String method, required String url, dynamic body, bool dontRetry = false, String? overrideToken}) Future
send request to epic games
sendInvalidAccountError() → void
send invalid account error
toString() String
A string representation of this object.
inherited

Operators

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