unregister static method
- String instance = defaultInstance
Send an unregistration request for the instance to the saved distributor and remove the registration. Remove the distributor if this is the last instance registered.
Implementation
static Future<void> unregister([String instance = defaultInstance]) async {
await UnifiedPushPlatform.instance.unregister(instance);
}