hasUniCallback function

bool hasUniCallback(
  1. List<Method>? methods
)

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;