FileOccurrence class
FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/
Constructors
-
FileOccurrence({Input<
List< ? attributions, Input<String> >String> ? comment, Input<List< ? contributors, Input<String> >String> ? copyright, Input<List< ? filesLicenseInfo, Input<String> >String> ? id, Input<LicenseContaineranalysisV1alpha1> ? licenseConcluded, Input<String> ? notice}) -
Creates a new FileOccurrence.
attributionsThis field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contextscommentThis field provides a place for the SPDX file creator to record any general comments about the filecontributorsThis field provides a place for the SPDX file creator to record file contributorscopyrightIdentify the copyright holder of the file, as well as any dates presentfilesLicenseInfoThis field contains the license information actually found in the file, if anyidUniquely identify any element in an SPDX document which may be referenced by other elementslicenseConcludedThis field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determinednoticeThis field provides a place for the SPDX file creator to record license notices or other such related notices found in the fileconst -
FileOccurrence.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
attributions
→ Input<
List< ?String> > -
This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts
final
-
comment
→ Input<
String> ? -
This field provides a place for the SPDX file creator to record any general comments about the file
final
-
contributors
→ Input<
List< ?String> > -
This field provides a place for the SPDX file creator to record file contributors
final
-
copyright
→ Input<
String> ? -
Identify the copyright holder of the file, as well as any dates present
final
-
filesLicenseInfo
→ Input<
List< ?String> > -
This field contains the license information actually found in the file, if any
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
→ Input<
String> ? -
Uniquely identify any element in an SPDX document which may be referenced by other elements
final
-
licenseConcluded
→ Input<
LicenseContaineranalysisV1alpha1> ? -
This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined
final
-
notice
→ Input<
String> ? -
This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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