SingletonMaid class
SingletonMaid.of with type parameter can easily create a VowedControllerMaid with singleton behavior. Which means you can not replace the box that Maid holding with another one.
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
-
of<
T> ([T? box]) → VowedControllerMaid< T> -
Do NOT init without parameter on non-nullable
T
, as it will result a runtime TypeError.