morphy library

Classes

ClassDef
FieldTypeAnalyzer
Field type analysis utilities
GenericsNameType
Interface
InterfaceWithComment
MethodDetails<TMeta1>
MethodGenerator
Backward compatibility wrapper for the original MethodGenerator Now delegates to the new modular generators
NameCleaner
Name cleaning utilities
NameType
NameTypeClass
NameTypeClassComment
NameTypeClassCommentData<TMeta1>
Patch<T>

Constants

PRIMITIVE_TYPES → const List<String>

Functions

createMorphy(bool isAbstract, List<NameTypeClassComment> allFields, String className, String classComment, List<Interface> interfacesFromImplements, List<Interface> interfacesAllInclSubInterfaces, List<NameTypeClassComment> classGenerics, bool hasConstContructor, bool generateJson, bool hidePublicConstructor, List<Interface> explicitForJson, bool nonSealed, bool explicitToJson, bool generateCompareTo, bool generateCopyWithFn, List<FactoryMethodInfo> factoryMethods, Map<String, dynamic> allAnnotatedClasses) String
generateFactoryMethod(FactoryMethodInfo factory, String classNameTrimmed, List<NameTypeClassComment> allFields) String
getPatchType(String baseType) String