5#import "flutter/shell/platform/darwin/ios/framework/Source/connection_collection.h"
7#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterMacros.h"
14 connections_[
name] = nextConnection;
15 return nextConnection;
21 for (
auto& keyValue : connections_) {
22 if (keyValue.second == connection) {
23 channel = keyValue.first;
27 if (channel.length() > 0) {
28 connections_.erase(channel);
36 return connection > 0;
static Connection MakeErrorConnection(int errCode)
std::string CleanupConnection(Connection connection)
Connection AquireConnection(const std::string &name)
static bool IsValidConnection(Connection connection)
DEF_SWITCHES_START aot vmservice shared library name