DocumentModule constructor

DocumentModule({
  1. Serializer? serializer,
})

Creates a document handoff module.

Custom serializer adapters must match the server serializer used to render this application's handoff state.

Implementation

DocumentModule({Serializer? serializer})
  : handoff = Handoff(serializer: serializer);