exportConfig method

Future<void> exportConfig(
  1. DataWedgeExportConfigRequest request, {
  2. String? commandTag,
  3. bool requestResult = true,
})

Exports DataWedge configuration to files.

request specifies the folder path, export type, and optional profile name. Use DataWedgeExportConfigRequest to configure the export.

Implementation

Future<void> exportConfig(
  DataWedgeExportConfigRequest request, {
  String? commandTag,
  bool requestResult = true,
}) {
  return sendCommandBundle(
    command: DataWedgeApi.exportConfig,
    value: request.toMap(),
    commandTag: commandTag ?? 'EXPORT_CONFIG',
    requestResult: requestResult,
  );
}