import 'dart:async'; import 'package:np_common/object_util.dart'; extension ObjectExtension on T { /// Deprecated, use [also] T apply(void Function(T obj) fn) => also(fn); /// Deprecated, use [alsoFuture] Future applyFuture(FutureOr Function(T obj) fn) => alsoFuture(fn); /// Deprecated, use [let] U run(U Function(T obj) fn) => let(fn); /// Deprecated, use [letFuture] Future runFuture(FutureOr Function(T obj) fn) => letFuture(fn); }