hook property

RoleHookRequest? hook
final

The data and roles of the app, as for the hooks of its roles, with the choices that the roles made when the contract harness rendered it, which smf create makes the same with the roleOptions; null for an app that the harness did not build.

A role reads what it chose for the app from the input that Role.hookInput builds of it, such as the route the app starts on, so a MatrixAppTest can expect what the app does without knowing its modules.

Implementation

final RoleHookRequest? hook;