BuildMode class abstract final

The build mode for compiling native code assets.

The Dart SDK does not have build modes. All build hook invocations are invoked with release.

The Flutter SDK build modes map as the following to build hook build modes:

Constructors

BuildMode()

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name for this build mode.
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

Constants

debug → const BuildMode
The debug build mode.
release → const BuildMode
The release build mode.
values → const List<BuildMode>
All known build modes.