AssetEnvironment class
An environment built from an external image asset.
- Inheritance
-
- Object
- EnvironmentSpec
- AssetEnvironment
Constructors
-
AssetEnvironment(AssetRef asset, {Map<
String, Object?> unknown = const {}}) -
An environment sourced from
asset.const
Properties
- asset → AssetRef
-
The environment image asset.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
unknown
→ Map<
String, Object?> -
Keys this build of the engine does not recognize, kept verbatim so a
document written by a newer engine or an extension survives a load and
save unchanged.
finalinherited
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