getDocumentVersion method
Retrieves a single document version by its ID.
versionId - The unique identifier of the version
Returns the DocumentVersion if found, or null if not found.
Throws DeskDataSourceException if the operation fails.
Implementation
@override
Future<DocumentVersion?> getDocumentVersion(String versionId) async {
for (final docVersions in _versions.values) {
if (docVersions.containsKey(versionId)) {
return docVersions[versionId];
}
}
return null;
}