currentDocumentKey property
String?
get
currentDocumentKey
Implementation
String? get currentDocumentKey {
final customKey = _selectedCustomDocument?['key'];
if (customKey is String && customKey.isNotEmpty) {
return customKey;
}
if (_documentType != null && _documentType!.isNotEmpty) {
return _documentType;
}
return null;
}