ReflectionsUtils class

A GetX singleton container utils.

In order to semantic.

Constructors

ReflectionsUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

existInGetX<S>({String? tag}) bool
Whether exist in GetX container
existInSelfContainer<S>({String? tag}) bool
Whether exist in Self-Container container
find<S>({String? tag}) → S
Find S type dependency from GetX container or SelfContainer .
findInGetXContainer<S>({String? tag}) → S
For short lifecycle object in GetX container.
findInSelfContainer<S>({String? tag}) → S
For long lifecycle object in application container.
lazyPut<S>(S dependency, {String? tag, bool fenix = false}) → void
GetX's GetInstance#lazyPut proxy method.
put<S>(S dependency, {String? tag}) → S
Put it into GetX container.
putIfAbsent<S>(S dependency, {String? tag}) → S
Put it into GetX container when it not exist in GetX container.
remove<S>({String? tag}) → void
Remove from GetX container
removeIfExist<S>({String? tag}) → void
Remove when it exist in GetX container