ConnectionsManager constructor
ConnectionsManager({
- AuthenticationManager? authenticationManager,
ConnectionsManager implements the singleton pattern. There will be only one instance of this class
Implementation
factory ConnectionsManager({AuthenticationManager? authenticationManager}) {
_singleton ??= ConnectionsManager._internal(authenticationManager);
return _singleton!;
}