NetworkManager constructor
NetworkManager({
- SessionManager? sessionManager,
Implementation
factory NetworkManager({SessionManager? sessionManager}) {
if (sessionManager != null) {
_instance.sessionManager = sessionManager;
} else {
_instance.sessionManager ??= SessionManager();
}
return _instance;
}