onDispose method

void onDispose(
  1. OnDisposeFunc func
)
inherited

Implementation

void onDispose(OnDisposeFunc func) => _disposeFuncs.add(func);