InTotoStatementResponse class

Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always "application/vnd.in-toto+json".

Constructors

InTotoStatementResponse({required Input<String> predicateType, required Input<InTotoProvenanceResponse> provenance, required Input<SlsaProvenanceResponse> slsaProvenance, required Input<SlsaProvenanceZeroTwoResponse> slsaProvenanceZeroTwo, required Input<List<SubjectResponse>> subject, required Input<String> type})
Creates a new InTotoStatementResponse. predicateType https://slsa.dev/provenance/v0.1 for SlsaProvenance. provenance Required. slsaProvenance Required. slsaProvenanceZeroTwo Required. subject Required. type Always https://in-toto.io/Statement/v0.1.
const
InTotoStatementResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
predicateType → Input<String>
https://slsa.dev/provenance/v0.1 for SlsaProvenance.
final
provenance → Input<InTotoProvenanceResponse>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slsaProvenance → Input<SlsaProvenanceResponse>
final
slsaProvenanceZeroTwo → Input<SlsaProvenanceZeroTwoResponse>
final
subject → Input<List<SubjectResponse>>
final
type → Input<String>
Always https://in-toto.io/Statement/v0.1.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited