Package class abstract

Configuration data for a single package.

Implementers
Annotations
  • @sealed

Constructors

Package(String name, Uri root, {Uri? packageUriRoot, LanguageVersion? languageVersion, Object? extraData, bool relativeRoot = true})
Creates a package with the provided properties.
factory

Properties

extraData → Object?
Extra data associated with the specific package.
no setter
hashCode → int
The hash code for this object.
no setterinherited
languageVersion → LanguageVersion?
The default language version associated with this package.
no setter
name → String
The package-name of the package.
no setter
packageUriRoot → Uri
The root of the files available through package: URIs.
no setter
relativeRoot → bool
Whether the root URI should be written as relative.
no setter
root → Uri
The location of the root of the package.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited