startDocumentSession method
Starts a new multi-page document scanning session (scanbot_sdk style).
Implementation
DocumentScanSession startDocumentSession({String? name, int? maxPages}) {
_documentSession = DocumentScanSession(
id: 'doc_${DateTime.now().millisecondsSinceEpoch}',
name: name,
maxPages: maxPages,
);
_safeNotifyListeners();
return _documentSession!;
}