register method

Future register(String url, [ Map options ])

Source

Future register(String url, [Map options]) {
  if (options != null) {
    return _blink.BlinkServiceWorkerContainer.instance.register_Callback_2_(
        this, url, convertDartToNative_Dictionary(options));
  }
  return _blink.BlinkServiceWorkerContainer.instance
      .register_Callback_1_(this, url);
}

© 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/register.html