RuntimeChecker class

Helper to check in which environment the library is running. The environment checks (release/debug/profile) are mutually exclusive.

Constructors

RuntimeChecker({bool? isRootZone})

Properties

compileMode String
no setter
hashCode int
The hash code for this object.
no setterinherited
isRootZone bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isAppObfuscated() bool
Check if the Dart code is obfuscated.
isDebugMode() bool
Check if running in debug environment
isProfileMode() bool
Check if running in profile environment
isReleaseMode() bool
Check if running in release/production environment
isSplitDebugInfoBuild() bool
Check if the current build has been built with --split-debug-info
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