RelationshipOccurrence class
RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/
Constructors
- RelationshipOccurrence({String? comment, String? source, String? target, String? type})
- RelationshipOccurrence.fromJson(Map _json)
Properties
- comment ↔ String?
-
A place for the SPDX file creator to record any general comments about the
relationship
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source ↔ String?
-
Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
getter/setter pair
- target ↔ String?
-
Also referred to as SPDXRef-B The target SPDC element (file, package, etc)
In cases where there are "known unknowns", the use of the keyword
NOASSERTION can be used The keywords NONE can be used to indicate that an
SPDX element (package/file/snippet) has no other elements connected by
some relationship to it
getter/setter pair
- type ↔ String?
-
The type of relationship between the source and target SPDX elements
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