History.fromResult constructor

History.fromResult(
  1. Result<Object, Exception> result
)

Implementation

factory History.fromResult(Result<Object, Exception> result) {
    return History._(
        result.resultType,
        result.message,
        result.classLocation,
        result.functionLocation,
        result.monitor,
        result.debug,
        result.historyList
    );
}