AppConnectionState constructor

AppConnectionState({
  1. ConnectionStatus apiStatus = ConnectionStatus.disconnected,
  2. String? apiError,
  3. Map<String, McpServerState>? mcpServers,
  4. Map<String, IdeConnection>? ideConnections,
})

Implementation

AppConnectionState({
  this.apiStatus = ConnectionStatus.disconnected,
  this.apiError,
  Map<String, McpServerState>? mcpServers,
  Map<String, IdeConnection>? ideConnections,
}) : mcpServers = mcpServers ?? {},
     ideConnections = ideConnections ?? {};