ClassMirror class

reflects a Dart language class.

Inheritance

Constructors

ClassMirror({String name, bool isEnum: false, List values, List<Annotation> annotations, Map<String, FunctionMirror> constructors, Map<String, DeclarationMirror> fields, List<String> getters, List<String> setters, Map<String, FunctionMirror> methods, Type superclass: Object, List<Type> superinterfaces: const [], bool isAbstract: false })
const

Properties

constructors → Map<String, FunctionMirror>
Constructors of the class
final
fields → Map<String, DeclarationMirror>
Fields of the class
final
getters → List<String>
getters of the class
final
isAbstract → bool
final
isEnum → bool
If the class is enum
final
methods → Map<String, FunctionMirror>
methods of the class
final
setters → List<String>
setters of the class
final
superclass → Type
super-class of the class
final
superinterfaces → List<Type>
final
values → List
If the class mirror is enum then this will return the values of the enum
final
annotations → List<Annotation>
annotations of the element
final, inherited
hashCode → int
The hash code for this object.
read-only, inherited
name → String
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited