DelAllUserConfig static method
Future<OperationResponse>
DelAllUserConfig(
- UserConfigMap userConfigMap
)
Implementation
static Future<OperationResponse> DelAllUserConfig(
UserConfigMap userConfigMap) async {
String jwt = await getJWT();
final channel = await Channel.getDefaultIoTManagerChannel();
final stub = ConfigManagerClient(channel,
options: CallOptions(metadata: {'jwt': jwt}));
OperationResponse operationResponse =
await stub.delAllUserConfig(userConfigMap);
print('DelAllUserConfig: ${operationResponse}');
channel.shutdown();
return operationResponse;
}