DVModuleOutcome enum

What a module's operation does in one environment.

Inheritance
Available extensions

Values

real → const DVModuleOutcome

The implementation ships and runs here.

compat → const DVModuleOutcome

No direct carrier; a generated path reaches one that has it.

noop → const DVModuleOutcome

Deliberately does nothing here and returns a declared value.

unavailable → const DVModuleOutcome

Throws DVModuleUnavailable, naming what was called and where.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
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

Static Methods

parse(Object? word) → DVModuleOutcome?
The outcome a pubspec names, or null for anything else: a word that is not one of the four is refused rather than read as the nearest one.

Constants

values → const List<DVModuleOutcome>
A constant List of the values in this enum, in order of their declaration.