getRegisterEnumReflectionByName<O> method
Returns the registered EnumReflection that matches enumName
.
Implementation
EnumReflection<O>? getRegisterEnumReflectionByName<O>(String enumName) =>
_registeredEnumReflection.values
.firstWhereOrNull((e) => e.enumName == enumName)
as EnumReflection<O>?;