toMap method
Implementation
Map<String, Object?> toMap() {
final conf = <String, Object?>{
'basisForProcessing': basisForProcessing,
'documentId': documentId,
'documentVersion': documentVersion,
'documentDescription': documentDescription,
};
conf.removeWhere((key, value) => value == null);
return conf;
}