xconvert library

Classes

ClassDefinition
DartCode
Dependency
Hint
A Hint is a user type correction.
MergeableListType
ModelGenerator
TypeDefinition
Warning
WithWarning<T>

Constants

ambiguousListWarn → const String
"list is ambiguous"
ambiguousTypeWarn → const String
"type is ambiguous"
emptyListWarn → const String
"list is empty"
PRIMITIVE_TYPES → const Map<String, bool>
const {'int' : true, 'double' : true, 'String' : true, 'bool' : true, 'DateTime' : false, 'List<DateTime>' : false, 'List<int>' : tr…

Functions

camelCase(String text) String
camelCaseFirstLower(String text) String
dartGenerate(String name, String value) → dynamic
decodeJSON(String rawJson) → dynamic
fixFieldName(String name, {TypeDefinition typeDef, bool privateField = false}) String
getTypeName(dynamic obj) String
isASTLiteralDouble(Node astNode) bool
isPrimitiveType(String typeName) → dynamic
mergeableListType(List list) MergeableListType
mergeObj(Map obj, Map other, String path) WithWarning<Map>
mergeObjectList(List list, String path, [int idx = -1]) WithWarning<Map>
newAmbiguousListWarn(String path) Warning
newAmbiguousType(String path) Warning
newEmptyListWarn(String path) Warning

Enums

ListType