outputFor method

  1. @override
void outputFor (
  1. RouterContext context,
  2. dynamic config,
  3. Voyager output
)
override

Implementation

@override
void outputFor(RouterContext context, dynamic config, Voyager output) {
  final object = buildObject(context, config);
  output[node] = object;
  output.onDispose(() {
    onDispose(object);
  });
}