Client class

client object


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


accountId String
returns account id of client
no setter
athena AthenaProfile
athena profile for client
getter/setter pair
auth FortniteAuth
auth client for client
getter/setter pair
campaign CampaignProfile
campaign profile for client
getter/setter pair
commonCore CommonCoreProfile
common core profile for client
getter/setter pair
deviceId String
returns device id of client
no setter
displayName String
returns display name of client
no setter
hashCode int
The hash code for this object.
no setterinherited
http HTTP
http client for client
onInvalidAccount Stream<InvalidAccountException>
returns the invalid account event stream
no setter
onSessionUpdate Stream<Client>
returns the session update event stream
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret String
returns device auth secret of client
no setter
session String
session for the account
getter/setter pair


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 nonexistent method or property is accessed.
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.


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