canCreateInstanceWithoutArguments property

bool get canCreateInstanceWithoutArguments

Returns true if createInstance can return an instantiated instance without any constructor argument.

Implementation

bool get canCreateInstanceWithoutArguments =>
    hasDefaultConstructor ||
    hasEmptyConstructor ||
    hasNoRequiredArgsConstructor;