ValorantClient constructor
ValorantClient(
- UserDetails _userDetails, {
- Callback callback = const Callback(),
- bool shouldPersistSession = false,
Default constructor of ValorantClient
_userDetails
parameter must contain a valid Username and Password else login will fail.
callback is optional. Pass a Callback instance to this for events on request error or internal error.
Implementation
ValorantClient(this._userDetails, {this.callback = const Callback(), this.shouldPersistSession = false});