License class

Describes the details of the license detection results. NOTE: the content of the class is experimental, clients should not rely on it yet.

Annotations
  • @JsonSerializable()

Constructors

License({required String path, required String spdxIdentifier})
License.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
path String
The file path that was recognized as a license.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spdxIdentifier String
The SPDX identifier of the license.
final

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