withoutObjectInstance method

  1. @override
EnumReflection<O> withoutObjectInstance()
override

Returns a new instances without an object instance.

Implementation

@override
EnumReflection<O> withoutObjectInstance() =>
    hasObject ? getStaticInstance() : this;