PublishRoutes class

Routes the app publishes for search engines, or withdraws. Sent by the app plugin to its own server, which captures, prerenders and uploads each published route; the server ignores it from any other client

Implemented types

Constructors

PublishRoutes({List<PublishedRouteChange> routes = const []})
PublishRoutes.fromJson(Map<String, dynamic> json)
factory
PublishRoutes.fromReader(TeleportObjectReader reader)
factory
PublishRoutes.fromTeleport(Uint8List data)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
routes ↔ List<PublishedRouteChange>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toProtocolMessage(int senderId, {ProtocolMessageOverrides? overrides}) → ProtocolMessage
Frames the message under its type's opcode and payload version. The type's default flags (unreliable for an unreliable message) are added to overrides' own.
override
toString() → String
A string representation of this object.
inherited
toTeleport() → Uint8List
writeTo(TeleportObjectWriter scope) → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited