DocumentScanSession constructor

DocumentScanSession({
  1. required String id,
  2. String? name,
  3. int? maxPages,
  4. DateTime? createdAt,
})

Constructs a DocumentScanSession.

Implementation

DocumentScanSession({
  required this.id,
  String? name,
  this.maxPages,
  DateTime? createdAt,
})  : name = name ?? 'Document Session $id',
      createdAt = createdAt ?? DateTime.now();