PresentationDefinitionWithOptions constructor

PresentationDefinitionWithOptions({
  1. required String domain,
  2. String? challenge,
  3. required PresentationDefinition presentationDefinition,
})

Implementation

PresentationDefinitionWithOptions(
    {required this.domain,
    String? challenge,
    required this.presentationDefinition}) {
  if (challenge == null) {
    this.challenge = Uuid().v4();
  } else {
    this.challenge = challenge;
  }
}