getRegistration method

Future getRegistration([String documentURL ])

Source

Future getRegistration([String documentURL]) {
  if (documentURL != null) {
    return _blink.BlinkServiceWorkerContainer.instance
        .getRegistration_Callback_1_(this, documentURL);
  }
  return _blink.BlinkServiceWorkerContainer.instance
      .getRegistration_Callback_0_(this);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/ServiceWorkerContainer/getRegistration.html