# toString method

1. @override

String toString()
override

Returns a string representation of this ScopedObjectFactory.

The string includes the pod name, scope type, and whether the object is currently cached for debugging and logging purposes.

Returns a string in the format: 'ScopedObjectFactory{name: name, scope: type, cached: `cached`}'

Example:

    print(scopedFactory.toString());
    // Output: ScopedObjectFactory{name: userService, scope: RequestScope, cached: true}

## Implementation

    @override
    String toString() => 'ScopedObjectFactory{name: $name, scope: ${scope.runtimeType}}';