helpers/validations/base_validations library

Functions

getAnnotation(TypeChecker checker, Element2 field) → DartObject?
getQualifiedFunctionName(ExecutableElement function) String
Gets the qualified function name for use in generated code. Returns 'ClassName.methodName' for static methods, or just 'functionName' for top-level functions.
getValidations(FormalParameterElement param, {ClassElement2? enclosingClass}) String
isCompatibleForAutoGeneration(ClassElement2 element) bool
Checks if a class is compatible for auto-generation