MockDispatcher constructor

MockDispatcher({
  1. required MockModuleEnv env,
  2. FutureOr<void> onInit()?,
  3. FutureOr<void> onPacket(
    1. DataPackage
    )?,
})

Implementation

MockDispatcher({required this.env, this.onInit, this.onPacket});