License constructor

License({
  1. String? type,
  2. String? href,
  3. String? value,
  4. String? url,
})

Constructor for the License class.

The constructor initializes a License object with optional named parameters:

  • type: Type attribute value of the license.
  • href: Href attribute value of the license.
  • value: Value of the license.
  • url: Url attribute value of the license.

Implementation

License({
  this.type,
  this.href,
  this.value,
  this.url,
});