combine property

returns the result of a list of functions

Implementation

VoidResultNullary get combine => () {
      for (final function in this) {
        final result = function();
        if (result.isFailure) {
          return result;
        }
      }
      return const VoidSuccess();
    };