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);
}