getRegistration 方法
- [String? documentURL]
实现
Future<ServiceWorkerRegistration> getRegistration([String? documentURL]) =>
promiseToFuture<ServiceWorkerRegistration>(JS(
"creates:ServiceWorkerRegistration;",
"#.getRegistration(#)",
this,
documentURL));