License constructor
- @JsonSerializable.new(includeIfNull: false)
Creates a License object.
Implementation
@JsonSerializable(includeIfNull: false)
const factory License({
/// The name of the license.
required String name,
/// An SPDX license expression for the API.
/// The identifier field is mutually exclusive of the url field.
String? identifier,
/// A URL to the license information.
String? url,
}) = _License;