onRegister method

  1. @override
void onRegister()
override

Callback method when this package is being registered.

Implementation

@override
void onRegister() {
  // registering default privacy functions
  TransformerSchemaRegistry()
      .lookup(PrivacySchema.DEFAULT)!
      .add(BLUETOOTH, blueetothNameAnoymizer);
  TransformerSchemaRegistry()
      .lookup(PrivacySchema.DEFAULT)!
      .add(WIFI, wifiNameAnoymizer);
}