An implementation of disposable for Dart.