ProofListProvider constructor
Notifier that store and manage list of ProofEntry.
It does:
- load proofs from filesystem with
loadProofsFromFSfunction, - it is a Notifier,
- add new proofs,
- ...
If serviceId == null, it create/collect proof for whole day.
{@category Inner API} {@category Providers}
Copied from ProofList.
Implementation
ProofListProvider({
required this.workerId,
required this.contractId,
required this.date,
required this.serviceId,
this.worker = '',
this.client = '',
this.service = '',
}) : super.internal(
() => ProofList()
..workerId = workerId
..contractId = contractId
..date = date
..serviceId = serviceId
..worker = worker
..client = client
..service = service,
from: proofListProvider,
name: r'proofListProvider',
debugGetCreateSourceHash:
const bool.fromEnvironment('dart.vm.product')
? null
: _$proofListHash,
dependencies: ProofListFamily._dependencies,
allTransitiveDependencies: ProofListFamily._allTransitiveDependencies,
);