getPlugin method
Implementation
TencentCloudChatPluginItem? getPlugin(String name) {
if (hasPlugins(name)) {
int idx = plugins.indexWhere((element) => element.name == name);
return plugins[idx];
}
return null;
}
TencentCloudChatPluginItem? getPlugin(String name) {
if (hasPlugins(name)) {
int idx = plugins.indexWhere((element) => element.name == name);
return plugins[idx];
}
return null;
}