getRegisterClassReflectionByName<O> method

ClassReflection<O>? getRegisterClassReflectionByName<O>(
  1. String className
)

Returns the registered ClassReflection that matches className.

Implementation

ClassReflection<O>? getRegisterClassReflectionByName<O>(String className) =>
    _registeredClassReflection.values
            .firstWhereOrNull((e) => e.className == className)
        as ClassReflection<O>?;