DelegatedRefCountHelper<T> constructor
DelegatedRefCountHelper<T> (
- T source, {
- void onCreate(
- T source
- void onDispose(
- T source
- bool autoDispose = true,
Implementation
DelegatedRefCountHelper(this.source,
{void Function(T source)? onCreate,
this.onDispose,
this.autoDispose = true}) {
onCreate?.call(source);
}