hasUniCallback function
Determine whether "UniCallback" is used in the module Used to make decisions about whether to reference relevant header files
Implementation
bool hasUniCallback(List<Method>? methods) =>
collectCustomTypeNames(methods: methods)
.where((element) => element == typeUniCallback)
.toSet()
.toList()
.isNotEmpty;