Container class
Methods
-
addParameter(String name, dynamic value)
→ void
-
Adds a new parameter to the container
-
get(String id)
→ dynamic
-
Returns a registered service by
id
override
-
getParameter(String name)
→ dynamic
-
Retrieve a specific registered parameter by
name
-
has(String id)
→ bool
-
Checks, if a service with the
id
is registered
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
register(String id, dynamic service, [dynamic arguments = const <dynamic>[]])
→ void
-
Register a service to the container
-
setParameter(String name, dynamic value, [bool override = true])
→ void
-
Sets a parameter
-
toString()
→ String
-
A string representation of this object.
inherited
-
unregister(String id)
→ void
-
Unregister a registered service
-
unsetParameter(String name)
→ void
-
Removes a parameter