NopLifeCycle mixin

自动管理生命周期

Properties

attachToParents List<Type>?
no setter
hashCode int
The hash code for this object.
no setterinherited
mounted bool
no setter
nopType Type
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getType<T>() → T
自动创建对象
getTypeOrNull<T>() → T?
查找已存在的共享对象,不会创建对象
nopDispose() → void
nopInit() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDisposeCancel() → void
onDisposeStart() → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

autoDispse(Object lifeCycle) → void
autoInit(Object lifeCycle, NopListener listener) → void
disopseCancel(Object lifeCycle) → void
disopseStart(Object lifeCycle) → void