toMap method

Map<String, dynamic> toMap()

Converts this request to a Map for DataWedge.

Implementation

Map<String, dynamic> toMap() {
  final Map<String, dynamic> map = <String, dynamic>{
    'FOLDER_PATH': folderPath,
  };

  if (fileList != null && fileList!.isNotEmpty) {
    map['FILE_LIST'] = fileList;
  }

  return map;
}