unsetReferences method

  1. @override
void unsetReferences()

Unsets (clears) previously set references to dependent components.

Implementation

@override
void unsetReferences() {
  // Remove registration callback from endpoint
  if (endpoint != null) {
    endpoint!.unregister(this);
    endpoint = null;
  }

  _swaggerService = null;
}