DartDeclaration class Null safety

Constructors

DartDeclaration()

Properties

assignment String?
read / write
enumValues List<String>
read / write
extendsClass String?
read / write
hashCode int
The hash code for this object.
read-onlyinherited
ignored bool
read / write
imports List<String>
read / write
isDatetime bool
read-only
isEnum bool
read-only
isNullable bool
read / write
isNullableString String
read-only
keyComands List<Command>
final
mixinClass String?
read / write
name String?
read / write
nestedClasses List<JsonModel>
read / write
originalName String?
read / write
overrideEnabled bool
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type String?
read / write
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 non-existent 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?