RuntimeEnvironmentInfo class
A helper class which gives you info about the environment for the current runtime.
Constructors
- RuntimeEnvironmentInfo({PlatformEnvironment? platformEnvironment})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isRunningInTestEnvironment(
) → bool -
Returns
true
if the current runtime is in a test environment and tests are running. -
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