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) {
    if (_registerable != null) endpoint!.unregister(_registerable!);
    endpoint = null;
  }
}