SingletonScope class

singleton scope

Inheritance
Implementers
Annotations
  • @Scope(name: "singleton", register: false)

Constructors

SingletonScope()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ dynamic
getter/setter pair

Methods

get<T>(AbstractInstanceProvider<T> provider, Environment environment, ArgumentsProvider argumentProvider) → T
return a new or cached instance of a requested type provider a AbstractInstanceProvider used to create a new instance environment the Environment argumentProvider a ArgumentsProvider that computed the required constructor parameters
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited