getInstance static method
dynamic
getInstance(
- Connection connection
Implementation
static getInstance(Connection connection) {
ChatMessagesManager? manager = _instances[connection];
if (manager == null) {
manager = ChatMessagesManager._private(connection);
_instances[connection] = manager;
}
return manager;
}