serialize static method

Uint8List? serialize(
  1. Route route
)

Serializes given route to a binary data.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change 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);