/**
 * Representation of Verifiable Presentation according to w3c spec.
 */ export class VerifiablePresentationAttribute { param json public static fromJson ( json ) { return new VerifiablePresentationAttribute ( json . verifiableCredential ) ; } '@context' : string [ ] ; type : string [ ] ; verifiableCredential : string [ ] ; constructor ( verifiableCredential ) { this [ '@context' ] = [ 'https://www.w3.org/2018/credentials/v1' ] ; this . type = [ 'VerifiablePresentation' ] ; this . verifiableCredential = verifiableCredential ; } }