DartDeclaration class

Constructors

DartDeclaration()

Properties

assignment String?
getter/setter pair
enumValues List<String>
getter/setter pair
extendsClass String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ignored bool
getter/setter pair
imports List<String>
getter/setter pair
isDatetime bool
no setter
isEnum bool
no setter
isNullable bool
getter/setter pair
isNullableString String
no setter
keyComands List<Command>
final
mixinClass String?
getter/setter pair
name String?
getter/setter pair
nestedClasses List<JsonModel>
getter/setter pair
overrideEnabled bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
getter/setter pair
valueCommands List<Command>
final

Methods

addImport(dynamic import) → void
checkNestedTypes(String type, NestedCallbackFunction callback) String
copyWithBodyDeclaration() String
copyWithConstructorDeclaration() String
enableOverridden() → void
fromJsonBody() String
getEnum(String className) Enum
getImportStrings(String? relativePath) List<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setEnumValues(List<String> values) → void
setExtends(String extendsClass) → void
setIgnored() → void
setIsNullable(bool isNullable) → void
setMixin(String mixinClass) → void
setName(String name) → void
stringifyAssignment(dynamic value) String
toCloneDeclaration() String
toConstructor() String
toDeclaration(String className) String
toEquals() String
toHash() String
toJsonBody(String className) String
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromCommand(List<Command> commandList, DartDeclaration self, {required String key, dynamic testSubject, dynamic value}) DartDeclaration
fromKeyValue(String key, dynamic val) DartDeclaration
getNameFromJsonKey(String theString) String?
getParameterString(String theString) String
getTypeFromJsonKey(String theString) String?