# toString method

1. @override

String toString()
override

Returns a string representation of this ObjectFactory.

The string includes the type `T` and indicates it's a default factory implementation for debugging and logging purposes.

Returns a string in the format: 'ObjectFactory<`T`>'

Example:

    final factory = ObjectFactory<UserService>(() => UserService());
    print(factory.toString()); // 'ObjectFactory<UserService>'

## Implementation

    @override
    String toString() => 'ObjectFactory<${T}>';