serialize static method

Uint8List? serialize(
  1. Route route
)

Serializes given route to a binary data.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • route The route which should be serialized.

Returns Uint8List?. The binary data of the route.

Implementation

static Uint8List? serialize(Route route) => $prototype.serialize(route);