OpenApiLicence constructor

const OpenApiLicence({
  1. required String name,
  2. required String url,
})

Creates an OpenAPI-compliant license object.

Parameters:

  • name The name of the license (required).
  • url A link to the full license text (required).

Implementation

const OpenApiLicence({
  required this.name,
  required this.url,
});