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({String? predicateType, InTotoProvenance? provenance, List<Subject>? subject, String? type})
InTotoStatement.fromJson(Map _json)

Properties

hashCode int
The hash code for this object.
no setterinherited
predicateType String?
"https://in-toto.io/Provenance/v0.1" for InTotoProvenance.
getter/setter pair
provenance InTotoProvenance?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject List<Subject>?
getter/setter pair
type String?
Always "https://in-toto.io/Statement/v0.1".
getter/setter pair

Methods

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

Operators

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