TSensitiveData constructor
- required String path,
- String? id,
- String? whereDescription,
- TTimestampType? createTimeStampType,
- String? field,
- bool? isBatch,
- bool? isMerge,
- bool? isTransaction,
- int? limit,
- List<
FieldPath> ? mergeFields, - String? searchField,
- String? searchTerm,
- TSearchTermType? searchTermType,
- String? type,
- TTimestampType? updateTimeStampType,
- Object? data,
- TOperationType? operationType,
- Map<
String, dynamic> ? documentData, - String? fullPath,
Creates a new sensitive data container
Parameters:
path Firestore collection or document path
id optional document ID
whereDescription description of query conditions
createTimeStampType timestamp type for document creation
field field name being operated on
isBatch whether operation is part of a batch
isMerge whether operation is a merge
isTransaction whether operation is part of a transaction
limit query result limit
mergeFields specific fields to merge
searchField field to search in
searchTerm term to search for
searchTermType type of search operation
type operation type identifier
updateTimeStampType timestamp type for document updates
data additional operation data
operationType type of Firestore operation being performed
documentData JSON data being accessed (especially useful for permission errors)
fullPath complete document path (collection + document ID)
Implementation
const TSensitiveData({
required this.path,
this.id,
this.whereDescription,
this.createTimeStampType,
this.field,
this.isBatch,
this.isMerge,
this.isTransaction,
this.limit,
this.mergeFields,
this.searchField,
this.searchTerm,
this.searchTermType,
this.type,
this.updateTimeStampType,
this.data,
this.operationType,
this.documentData,
this.fullPath,
});