TypeTemplate class

Constructors

TypeTemplate.fromType(Type type, [bool addToWarehouse = false])
TypeTemplate.parse(DC data, [int offset = 0, int? contentLength])

Properties

annotation String?
no setter
classId Guid
no setter
className String
no setter
constants List<ConstantTemplate>
no setter
content DC
no setter
definedType Type?
no setter
events List<EventTemplate>
no setter
functions List<FunctionTemplate>
no setter
hashCode int
The hash code for this object.
no setterinherited
isWrapper bool
no setter
methods List<MemberTemplate>
no setter
parentDefinedType Type?
no setter
parentId Guid?
no setter
properties List<PropertyTemplate>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type → TemplateType
no setter

Methods

getConstantByIndex(int index) → ConstantTemplate?
getConstantByName(String constantName) → ConstantTemplate?
getEventTemplateByIndex(int index) EventTemplate?
getEventTemplateByName(String eventName) EventTemplate?
getFunctionTemplateByIndex(int index) FunctionTemplate?
getFunctionTemplateByName(String functionName) FunctionTemplate?
getPropertyTemplateByIndex(int index) PropertyTemplate?
getPropertyTemplateByName(String propertyName) PropertyTemplate?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getDependencies(TypeTemplate template) List<TypeTemplate>
getTypeGuid(String typeName) Guid