ClientOptions class Null safety
options for the main client
Constructors
- ClientOptions({bool log = true, required DeviceAuth deviceAuth, String userAgent = "Fortnite/++Fortnite+Release-18.21-CL-17811397 Android/11", Level logLevel = Level.ALL})
- client options object
-
ClientOptions.fromJson(Map<
String, dynamic> json) -
client options from json method
factory
Properties
- deviceAuth ↔ DeviceAuth
-
device auth
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- log ↔ bool
-
should log
read / write
- logLevel ↔ Level
-
log level
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- userAgent ↔ String
-
user agent to use
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited