BuildMode enum
Build mode enum
- release - Release build mode
- profile - Profile build mode
- debug - Debug build mode
Constructors
- BuildMode()
-
Build mode enum
const
Values
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isDebug → bool
-
Is debug build mode
no setter
- isProfile → bool
-
Is profile build mode
no setter
- isRelease → bool
-
Is release build mode
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
maybeWhen<
BuildModeResult extends Object?> ({required BuildModeResult orElse(), BuildModeResult release()?, BuildModeResult profile()?, BuildModeResult debug()?}) → BuildModeResult - Run callback on specific build mode, if not specified run orElse
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
BuildModeResult extends Object?> ({required BuildModeResult release(), required BuildModeResult profile(), required BuildModeResult debug()}) → BuildModeResult - Run callback on specific build mode
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited