Position balance(DateTime tansactionDate) => (() { return copyWith( cost: cost?.balance(tansactionDate, unit), ); })();