Class class

Inheritance

Constructors

Class({required TypeName name, Name? extendsFrom, Iterable<Name> mixins = const [], Iterable<Name> implementsFrom = const [], List<Constructor> constructors = const [], Iterable<Factory> factories = const [], Iterable<Field> fields = const [], Iterable<Method> methods = const []})

Properties

childrenSeparator String
no setterinherited
constructors List<Constructor>
final
extendsFrom Name?
final
factories Iterable<Factory>
final
fields Iterable<Field>
final
hasConstructor bool
no setter
hasExtends bool
no setter
hashCode int
The hash code for this object.
no setterinherited
hasImplements bool
no setter
hasMixins bool
no setter
implementsFrom Iterable<Name>
final
methods Iterable<Method>
final
mixins Iterable<Name>
final
name TypeName
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

children() Iterable<Code>
override
code() String
inherited
decorate(String code) String
inherited
end() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() String
override
toString() String
A string representation of this object.
inherited
writeTo(File file) Future<void>
inherited

Operators

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