AudioProofWidget constructor

AudioProofWidget(
  1. {((List<Proof>, ProofList)?) proofs,
  2. Client? client,
  3. ServiceOfJournal? service,
  4. String beforeOrAfter = 'after_audio_',
  5. Key? key}
)

Implementation

AudioProofWidget({
  this.proofs,
  this.client,
  this.service,
  this.beforeOrAfter = 'after_audio_',
  super.key,
}) {
  if (!(proofs != null || (client != null && service != null))) {
    throw StateError('AudioProofController: wrong parameters!');
  }
}