getDocumentTypes method
Retrieves all unique document types in the system.
Returns a list of document type names.
Throws DeskDataSourceException if the operation fails.
Implementation
@override
Future<List<String>> getDocumentTypes() async {
return _documents.values.map((d) => d.documentType).toSet().toList();
}