PresentationDefinition constructor

PresentationDefinition({
  1. String? id,
  2. required List<InputDescriptor> inputDescriptors,
  3. String? name,
  4. String? purpose,
  5. FormatProperty? format,
  6. List<SubmissionRequirement>? submissionRequirement,
})

Implementation

PresentationDefinition(
    {String? id,
    required this.inputDescriptors,
    this.name,
    this.purpose,
    this.format,
    this.submissionRequirement})
    : id = id ?? Uuid().v4();