RunPackage class

Inheritance

Constructors

RunPackage(Pkg pkg, {List<Entrypoint> entrypoints = const [], Map<RunPlatform, List<String>> flavors = const {}})
const

Properties

entrypoints → List<Entrypoint>
The main()s worth launching, named.
final
flavors → Map<RunPlatform, List<String>>
The flavors this package has, per platform — the author's word, so the cockpit can offer a list instead of an empty box and a launch can refuse a name the build system was never going to accept.
final
hashCode → int
The hash code for this object.
no setterinherited
path → String
no setterinherited
pkg → Pkg
finalinherited
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
toJson() → Map<String, Object?>
Must include path; the rest is whatever the plugin needs.
override
toString() → String
A string representation of this object.
inherited

Operators

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