PublishedRouteChange class

Constructors

PublishedRouteChange({String path = '', int lastModifiedMs = 0, int expiresAtMs = 0, bool unpublish = false})
PublishedRouteChange.fromJson(Map<String, dynamic> json)
factory
PublishedRouteChange.fromReader(TeleportObjectReader reader)
factory
PublishedRouteChange.fromTeleport(Uint8List data)
factory

Properties

expiresAtMs ↔ int
Unix milliseconds after which the page is no longer served or listed; 0 for never
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
lastModifiedMs ↔ int
Unix milliseconds; the sitemap's lastmod
getter/setter pair
path ↔ String
A canonical route: starts with '/', no query string
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unpublish ↔ bool
True withdraws the route; the timestamps are ignored
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited
toTeleport() → Uint8List
writeTo(TeleportObjectWriter scope) → void

Operators

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

Constants

fieldIdExpiresAtMs → const int
fieldIdLastModifiedMs → const int
fieldIdPath → const int
fieldIdUnpublish → const int
teleportVersion → const int