TestHost class

Inheritance

Constructors

TestHost({required List<Component> components, required Map<String, dynamic> initialConfig, required FutureOr<void> testBody()})

Properties

components List<Component>
final
configuration Configuration
finalinherited
hashCode int
The hash code for this object.
no setterinherited
initialConfig Map<String, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state ServiceHostState
no setterinherited
testBody FutureOr<void> Function()
final

Methods

buildRoot() Component
override
findComponent<T>(Find<T> finder, TreeNode? scope) → T
inherited
initialize() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readConfig<T>(Config<T> config, TreeNode scope) → T
inherited
register<T extends Service>(T service) → void
inherited
shutdown() Future<void>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited