unregisterOptions method

  1. @override
Future<void> unregisterOptions(
  1. String key
)

Removes an option registered with registerOptions. See Posthog.unregisterOptions.

Throws UnimplementedError unless overridden.

Implementation

@override
Future<void> unregisterOptions(String key) async {
  final legacyKey = legacyPropertyForOption(key);
  if (legacyKey != null) await unregister(legacyKey);
}