ServiceWorkerVersion class
ServiceWorker version.
Constructors
-
ServiceWorkerVersion({required String versionId, required RegistrationID registrationId, required String scriptURL, required ServiceWorkerVersionRunningStatus runningStatus, required ServiceWorkerVersionStatus status, num? scriptLastModified, num? scriptResponseTime, List<
TargetID> ? controlledClients, TargetID? targetId, String? routerRules}) -
ServiceWorkerVersion.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
controlledClients
→ List<
TargetID> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- registrationId → RegistrationID
-
final
- routerRules → String?
-
final
- runningStatus → ServiceWorkerVersionRunningStatus
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scriptLastModified → num?
-
The Last-Modified header value of the main script.
final
- scriptResponseTime → num?
-
The time at which the response headers of the main script were received from the server.
For cached script it is the last time the cache entry was validated.
final
- scriptURL → String
-
final
- status → ServiceWorkerVersionStatus
-
final
- targetId → TargetID?
-
final
- versionId → String
-
final
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited