register method

  1. @override
void register()
override

Called automatically when instantiated. Registers this reflection into ReflectionFactory.

Implementation

@override
void register() {
  if (!ReflectionFactory().hasRegisterEnumReflection(enumType)) {
    var er = withoutObjectInstance();
    ReflectionFactory().registerEnumReflection(er);
  }
}