HookFunc typedef Null safety

HookFunc = Future<void> Function(OguretsScenarioSession scenarioSession, ScenarioStatus scenarioStatus)

The purpose of this file is to expose the internals of ogurets without requiring dart:io, so that it can be used in the browser.

Implementation

typedef HookFunc = Future<void> Function(
    OguretsScenarioSession scenarioSession, ScenarioStatus scenarioStatus);