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