# type property

String type
getter/setter pair

The ScopeType of this descriptor.
See Defines the lifecycle scope of a component within a dependency injection container.

This determines whether a single instance should be reused or a new instance created each time.

### Example

    void configureScope(ScopeType scope) {
      if (scope == ScopeType.SINGLETON) {
        print("A single shared instance will be used.");
      } else if (scope == ScopeType.PROTOTYPE) {
        print("A new instance will be created each time.");
      }
    }
    ```.

## Implementation

    String type;