CredentialManifest constructor

CredentialManifest({
  1. String? id,
  2. String? name,
  3. String? description,
  4. String specVersion = 'https://identity.foundation/credential-manifest/spec/v1.0.0/',
  5. required IssuerProperty issuer,
  6. required List<OutputDescriptor> outputDescriptor,
  7. FormatProperty? format,
  8. PresentationDefinition? presentationDefinition,
})

Implementation

CredentialManifest(
    {String? id,
    this.name,
    this.description,
    this.specVersion =
        'https://identity.foundation/credential-manifest/spec/v1.0.0/',
    required this.issuer,
    required this.outputDescriptor,
    this.format,
    this.presentationDefinition})
    : id = id ?? Uuid().v4();