utils/utils library

Functions

collectCustomTypeNames({List<Method>? methods, List<Variable>? fields}) List<String>
collectCustomTypeWithFields(List<Variable> fields) List<AstCustomType>
collectCustomTypeWithMethods(List<Method> methods) List<AstCustomType>
hasUniCallback(List<Method>? methods) bool
Determine whether "UniCallback" is used in the module Used to make decisions about whether to reference relevant header files
unpackArgAST(AstType type, String variableName, {bool maybeNull = false}) String
unpackField(Variable v) String