LoggerResponse constructor
LoggerResponse({
- Log? log,
- Iterable<
Log> ? logs, - LoggerConfig? config,
- Sum? sum,
Implementation
factory LoggerResponse({
Log? log,
$core.Iterable<Log>? logs,
LoggerConfig? config,
Sum? sum,
}) {
final _result = create();
if (log != null) {
_result.log = log;
}
if (logs != null) {
_result.logs.addAll(logs);
}
if (config != null) {
_result.config = config;
}
if (sum != null) {
_result.sum = sum;
}
return _result;
}