dispose method
Disposes of all SDK resources and cleans up.
This method should be called when the plugin is no longer needed, typically when the app is shutting down or the user logs out.
This method:
- Unregisters from the SIP server
- Removes all observers and listeners
- Releases native SDK resources
- Clears event stream handlers
After calling dispose(), the plugin instance should not be used. Create a new instance if SIP functionality is needed again.
Implementation
Future<void> dispose() async {
throw UnimplementedError('dispose has not been implemented.');
}