Manifest class
The consumer manifest.
Constructors
-
Manifest({required String library, required String driver, required String driverClass, required List<
String> scenarios, String contractDir = 'bench/contract', List<String> idleClasses = const [], List<LibraryEntry> libraries = const [], List<CustomScenario> customScenarios = const [], int template = kTemplateVersion, SizeConfig? size, CardConfig? card, ReadmeConfig? readme})
Properties
- card → CardConfig?
-
Marketing content of the metrics card PNG (
card:section); null when the consumer does not publish a card.final - contractDir → String
-
Directory of the generated contract files (driver API + scenario
tests), relative to the consumer root.
final
-
customScenarios
→ List<
CustomScenario> -
Consumer-owned scenarios (
customScenarios:): metric idscustom.*, own refs, excluded from rivals and public tables.final - driver → String
-
Driver file path, relative to the consumer root (NOT under
lib/— the driver runs in the flutter_test context and returns flutter_test types).final - driverClass → String
-
Driver class name (e.g.
HintfulDriver).final -
entries
→ List<
LibraryEntry> -
The solutions to run: declared libraries, or the single shape.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
idleClasses
→ List<
String> -
Solution classes that must return to their baseline after warm-up +
hide()(S1ridle_resources).final -
libraries
→ List<
LibraryEntry> -
Solutions of a multi-library consumer; empty for the single-library
shape (library/driver/driverClass).
final
- library → String
-
Solution name (report/README column label).
final
- readme → ReadmeConfig?
-
Marketing content of the root-README section (
readme:section); null when the consumer does not render one.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scenarios
→ List<
String> -
Declared scenario ids (subset of kContractScenarioIds).
final
- size → SizeConfig?
-
S7 host-size config (
size:section); null when the consumer does not declare the size scenario.final - template → int
-
Template version the generated files were rendered with.
final
Methods
-
dirFor(
LibraryEntry entry) → String -
Scenario directory of
entry: the shared contractDir for the single-library shape, one subdirectory per solution otherwise. -
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