toJson method
Implementation
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['document_type_ID'] = _documentTypeID;
map['document_type'] = _documentType;
if (_document != null) {
map['document'] = _document?.toJson();
}
return map;
}