GlpiClient constructor Null safety
Create a GlpiClient .
host
is the server address, it should end with /apirest.php/
or be redirected to it.
appToken
is the app token used to authenticate the client.
sessionToken
is the session token used to authenticate the client which can be used from a previous session.
Implementation
factory GlpiClient(String host, {String? appToken, String? sessionToken}) =>
createGlpiClient(host, appToken, sessionToken);