ClassDefinition class

Constructors

ClassDefinition(String _name, [bool _privateFields = false])

Properties

dependencies List<Dependency>
read-only
fields Map<String, TypeDefinition>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
name String
read-only
privateFields bool
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addField(String name, TypeDefinition typeDef) Future<TypeDefinition>
hasField(TypeDefinition otherField) bool
isSubsetOf(ClassDefinition other) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
operator(dynamic other) bool
toString() String
A string representation of this object. [...]
override

Operators

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