ContractCase class final

One app the harness builds to check a module or a role: the modules asked for and the provider picked for each role.

Constructors

ContractCase(String name, {required List<ModuleId> requested, Map<Role<Object>, ModuleId> picks = const {}, Map<String, String?> roleOptions = const {}})
Creates the case name.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
What the case checks, such as home (bloc) with analytics.
final
picks → Map<Role<Object>, ModuleId>
The provider of each role that has several in the registry.
final
requested → List<ModuleId>
The modules asked for.
final
roleOptions → Map<String, String?>
Values of role options by name, as --start /home on the command line, for the choices of the roles when the app of the case is rendered.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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