InTotoStatement 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

InTotoStatement({Input<String>? predicateType, Input<InTotoProvenance>? provenance, Input<SlsaProvenance>? slsaProvenance, Input<SlsaProvenanceZeroTwo>? slsaProvenanceZeroTwo, Input<List<Subject>>? subject, Input<String>? type})
Creates a new InTotoStatement. predicateType https://slsa.dev/provenance/v0.1 for SlsaProvenance. provenance Optional. slsaProvenance Optional. slsaProvenanceZeroTwo Optional. subject Optional. type Always https://in-toto.io/Statement/v0.1.
const
InTotoStatement.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<InTotoProvenance>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slsaProvenance → Input<SlsaProvenance>?
final
slsaProvenanceZeroTwo → Input<SlsaProvenanceZeroTwo>?
final
subject → Input<List<Subject>>?
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