nestedKey method
Function to retrieve a nested delegate by its key.
Parameters:
key
: The key of the nested delegate to retrieve.
Returns: The nested delegate associated with the given key, if found. If no key is provided, returns the root delegate.
Implementation
GetDelegate<T>? nestedKey(String? key) => rootController.nestedKey(key);