MockPackagesMixin mixin

Helper for copying files from "test/mock_packages" to memory file system.

Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
packagesRootPath String
The path to a folder where mock packages can be written.
no setter
pathContext → Context
no setter
resourceProvider → ResourceProvider
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addFfi() → Folder
addFixnum() → Folder
addFlutter() → Folder
addMeta() → Folder
addSkyEngine({required String sdkPath}) → Folder
Adds a mock sky_engine package with an _embedder.yaml file, and returns the Folder of the sky_engine package's 'lib' directory.
addTestReflectiveLoader() → Folder
addVectorMath() → Folder
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