ProofListOf mixin Data Models Inner API

Mixin with logic to manage Proofs for ProofList.

Most important functions:

If serviceId == null, it create/collect proof for whole day.

Mixin Applications

Properties

loadedFromFS Future<void>?
read / write
workerId int
latefinal
contractId int
latefinal
date String
latefinal
serviceId int?
latefinal
worker String
latefinal
client String
latefinal
service String
latefinal
proofs List<Proof>
read-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

addImage(int i, XFile? xFile, String prefix) Future<void>
Move the image into proof Directory and register it as a proof.
addProof() → void
addProofFromFiles(File? beforeImg, File? beforeAudio, File? afterImg, File? afterAudio) → void
loadProofsFromFS() Future<void>
Crawl through file system to generate Proofs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify() → void
proofPath(String group) Future<Directory?>
Create directory with proofs.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited