ManifestAssertion class

Represents a generic C2PA assertion with a predicate and associated content.

Constructors

ManifestAssertion.new(String label, Map<String, dynamic> data, {int? instance, String? kind})
Creates an instance of ManifestAssertion.
const
ManifestAssertion.fromJson(Map<String, dynamic> json)
Creates an Assertion from a JSON map.
factory

Properties

data Map<String, dynamic>
The data of the assertion
final
hashCode int
The hash code for this object.
no setterinherited
instance int?
There can be more than one assertion for any label
final
kind String?
The kind of assertion
final
label String
An assertion label in reverse domain format
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

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

Operators

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