Statement class Null safety

Describes a reliable statement that has been made about the relationship between a source asset and a target asset.

Statements are always made by the source asset, either directly or by delegating to a statement list that is stored elsewhere. For more detailed definitions of statements and assets, please refer to our [API documentation landing page](/digital-asset-links/v1/getting-started).

Constructors

Statement({String? relation, Asset? source, Asset? target})
Statement.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
relation String?
The relation identifies the use of the statement as intended by the source asset's owner (that is, the person or entity who issued the statement). [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
source Asset?
Every statement has a source asset. [...]
read / write
target Asset?
Every statement has a target asset. [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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