LicenseEntry class

A license that covers part of the application's software or assets, to show in an interface such as the LicensePage.

For optimal performance, LicenseEntry objects should only be created on demand in LicenseEntryCollector callbacks passed to LicenseRegistry.addLicense.

Implementers

Constructors

LicenseEntry()
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
const

Properties

packages Iterable<String>
The names of the packages that this license entry applies to.
read-only
paragraphs Iterable<LicenseParagraph>
The paragraphs of the license, each as a LicenseParagraph consisting of a string and some formatting information. Paragraphs can include newline characters, but this is discouraged as it results in ugliness.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited