RelationshipOccurrence class

RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/

Constructors

RelationshipOccurrence({Input<String>? comment, Input<String>? source, Input<String>? target})
Creates a new RelationshipOccurrence. comment A place for the SPDX file creator to record any general comments about the relationship source Also referred to as SPDXRef-A The source SPDX element (file, package, etc) target 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
const
RelationshipOccurrence.fromMap(Map<String, dynamic> map)
factory

Properties

comment → Input<String>?
A place for the SPDX file creator to record any general comments about the relationship
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → Input<String>?
Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
final
target → Input<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
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