MatrixApp constructor

const MatrixApp(
  1. String name,
  2. List<ModuleId> modules, {
  3. Map<String, String?> roleOptions = const {},
  4. Map<String, String> modes = const {},
  5. List<ModuleId>? everyModuleWith,
  6. RoleHookRequest? hook,
  7. List<String> warnings = const [],
})

Creates the app that the contract harness built for name.

Implementation

const MatrixApp(
  this.name,
  this.modules, {
  this.roleOptions = const {},
  this.modes = const {},
  this.everyModuleWith,
  this.hook,
  this.warnings = const [],
});