addNetwork(with:completion:)
Command AddNetwork
Declaration
func addNetwork(with params: MTRThreadNetworkDirectoryClusterAddNetworkParams, completion: @escaping @Sendable ((any Error)?) -> Void)func addNetwork(with params: MTRThreadNetworkDirectoryClusterAddNetworkParams) async throwsDiscussion
Adds an entry to the ThreadNetworks attribute with the specified Thread Operational Dataset.