serialize static method
- 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.
routeThe route which should be serialized.
Returns Uint8List?. The binary data of the route.
Implementation
static Uint8List? serialize(Route route) => $prototype.serialize(route);