reflection_factory.builder library Null safety

Library for reflection_factory's builder.

Classes

ClassReflection<O>
Base for Class reflection.
ConstructorReflection<O>
ElementReflection<O>
Base for element reflection.
ElementResolver<T>
A simple element of type T resolver.
EnumReflection<O>
Base for Enum reflection.
FieldReflection<O, T>
A class field reflection.
FunctionReflection<O, R>
Base class fro methods and constructors.
MethodInvocation<T>
Represents a method invocation parameters.
MethodReflection<O, R>
A class method reflection.
ParameterReflection
A parameter reflection, used method arguments or class fields.
Reflection<O>
Base for reflection.
ReflectionFactory
Class with all registered reflections (ClassReflection).
TypeReflection<T>
Dart Type reflection.

Properties

absentParameterValue Object
final
unresolvedParameterValue Object
final

Functions

reflectionFactory([BuilderOptions options = BuilderOptions.empty]) Builder

Typedefs

ConstructorReflectionAccessor = Function Function()
FieldGetter<T> = T Function()
FieldNameResolver = String? Function(String field, Map<String, Object?> map)
FieldReflectionGetterAccessor<O, T> = FieldGetter<T> Function(O? obj)
FieldReflectionSetterAccessor<O, T> = FieldSetter<T> Function(O? obj)
FieldSetter<T> = void Function(T? v)
FieldValueResolver = Object? Function(String field, Object? value, TypeReflection type)
MethodReflectionAccessor<O> = Function Function(O? obj)
OnConstructorInvocationError = void Function(ConstructorReflection constructor, MethodInvocation methodInvocation, Map<String, dynamic> map, Object? error)
ParameterProvider = Object? Function(ParameterReflection parameter, int? parameterIndex)