License class

License

Annotations

Constructors

License({String? htmlUrl, String? key, String? name, String? nodeId, String? spdxId, String? url})
License.fromJson(Map<String, dynamic> input)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
htmlUrl → String?
final
key → String?
Example: mit
final
name → String?
Example: MIT License
final
nodeId → String?
Example: MDc6TGljZW5zZW1pdA==
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spdxId → String?
Example: MIT
final
url → String?
Example: https://api.github.com/licenses/mit
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