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, Input<Subject> >String> ? type}) -
Creates a new InTotoStatement.
predicateTypehttps://slsa.dev/provenance/v0.1for SlsaProvenance.provenanceOptional.slsaProvenanceOptional.slsaProvenanceZeroTwoOptional.subjectOptional.typeAlwayshttps://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.1for 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