CockpitContextBundle constructor

CockpitContextBundle({
  1. required CockpitRunManifest manifest,
  2. required CockpitEnvironment environment,
  3. List<CockpitStepRecord> steps = const [],
  4. List<CockpitObservation> observations = const [],
  5. required String acceptanceMarkdown,
  6. required Map<String, Object?> handoff,
  7. Map<String, Object?> delivery = const <String, Object?>{},
})

Creates a CockpitContextBundle.

Implementation

CockpitContextBundle({
  required this.manifest,
  required this.environment,
  List<CockpitStepRecord> steps = const [],
  List<CockpitObservation> observations = const [],
  required this.acceptanceMarkdown,
  required Map<String, Object?> handoff,
  Map<String, Object?> delivery = const <String, Object?>{},
}) : steps = List.unmodifiable(steps),
     observations = List.unmodifiable(observations),
     handoff = Map.unmodifiable(handoff),
     delivery = Map.unmodifiable(delivery);