ServiceWorkerRouterCondition class

Mostly corresponds to RouterCondition in ServiceWorker spec (https://www.w3.org/TR/service-workers/#dictdef-routercondition)

Constructors

ServiceWorkerRouterCondition({String? urlPattern, String? requestMethod, String? requestMode, String? requestDestination, ServiceWorkerVersionRunningStatus? runningStatus, List<ServiceWorkerRouterCondition>? or, ServiceWorkerRouterCondition? not})
ServiceWorkerRouterCondition.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
not → ServiceWorkerRouterCondition?
final
or → List<ServiceWorkerRouterCondition>?
final
requestDestination → String?
final
requestMethod → String?
final
requestMode → String?
final
runningStatus → ServiceWorkerVersionRunningStatus?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
urlPattern → String?
Plain text, or JSON serialization of URLPatternInit or URLPattern
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