fromChain static method
Implementation
static Danger<TreeRequest, CitrusRequestExceptionA> fromChain(Chain chain) {
final log = Log(classLocation: TreeRequest, functionLocation: 'fromChain');
final logResult = chain.isFlag(JSON_KEY_LOG);
log.add(logResult);
final result = TreeRequest(
logResult.wrapped,
);
return Success(result, log);
}