ObbyClient constructor
Open a connection's engine.
Only nick is required; the engine defaults everything else.
Implementation
factory ObbyClient({
required String nick,
String? username,
String? realname,
String? password,
SaslCredentialsInput? sasl,
int? retention,
List<String>? altNicks,
String? libraryPath,
}) {
return ObbyClient.fromConfig({
'nick': nick,
if (username != null) 'username': username,
if (realname != null) 'realname': realname,
if (password != null) 'password': password,
if (sasl != null) 'sasl': sasl,
if (retention != null) 'retention': retention,
if (altNicks != null) 'alt_nicks': altNicks,
}, libraryPath: libraryPath);
}