toMap method
Converts this request to a Map for DataWedge.
Implementation
Map<String, dynamic> toMap() {
final Map<String, dynamic> map = <String, dynamic>{
'FOLDER_PATH': folderPath,
'EXPORT_TYPE': exportType,
};
if (profileName != null && profileName!.isNotEmpty) {
map[DataWedgeApi.profileNameKey] = profileName;
}
return map;
}