setAllConfig static method

Future<Empty> setAllConfig(
  1. String config
)

Implementation

static Future<Empty> setAllConfig(String config) async {
  final channel = await Channel.getOpenIoTHubChannel();
  final stub = UtilsClient(channel);
  StringValue sv = StringValue();
  sv.value = config;
  final response = await stub.loadAllConfig(sv);
  channel.shutdown();
  return response;
}