SyncConfigWithJsonConfig static method
Future<OpenIoTHubOperationResponse>
SyncConfigWithJsonConfig(
- String config
)
Implementation
static Future<OpenIoTHubOperationResponse> SyncConfigWithJsonConfig(String config) async {
final channel = await Channel.getOpenIoTHubChannel();
final stub = UtilsClient(channel);
StringValue stringValue = StringValue();
stringValue.value = config;
OpenIoTHubOperationResponse response =
await stub.syncConfigWithJsonConfig(stringValue);
channel.shutdown();
return response;
}