getInterface<I> abstract method
Gets a specific implemented interface.
Type Parameters:
I
: The exact interface type to retrieve
Returns:
- The interface if implemented
null
if not found
Implementation
Class<I>? getInterface<I>();