ClassInfo class Null safety

Provides unified access to class information based on ClassMirror

Constructors

ClassInfo(ClassMirror? classMirror)

Properties

classMirror ClassMirror?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inheritedPublicFieldNames List<String>
read-only
publicFieldNames List<String>
read-only
reflectedType Type?
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
superClass ClassMirror?
read-only

Methods

enumerateJsonGetters(Function visitor, [dynamic scheme]) → void
getAllDeclarationMeta(DeclarationMirror dm, [dynamic scheme]) List<JsonProperty>
getDeclarationMeta(DeclarationMirror dm, [dynamic scheme]) JsonProperty?
getDeclarationMirror(String name) DeclarationMirror?
getJsonAnyGetter([dynamic scheme]) MethodMirror?
getJsonAnySetter([dynamic scheme]) MethodMirror?
getJsonConstructor([dynamic scheme]) MethodMirror?
getJsonSetter(String? name, [dynamic scheme]) MethodMirror?
getMeta([dynamic scheme]) Json?
getMetaWhere(Function whereFunction, [dynamic scheme]) Json?
hasConstructorMeta(DeclarationMirror dm, [dynamic scheme]) JsonConstructor?
isGetterOnly(String name) bool
lookupClassMetaData(ClassMirror? classMirror) List<Object>
lookupDeclarationMetaData(DeclarationMirror? declarationMirror) List<Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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