getPlugin<T extends IPlugin> abstract method Null safety

IPlugin? getPlugin<T extends IPlugin>()

Gets plugin.