Sum constructor
Sum({
- Int64? total,
- Int64? totalError,
- Int64? totalInfo,
- Int64? totalWarn,
- Int64? totalDebug,
- Int64? totalFatal,
Implementation
factory Sum({
$fixnum.Int64? total,
$fixnum.Int64? totalError,
$fixnum.Int64? totalInfo,
$fixnum.Int64? totalWarn,
$fixnum.Int64? totalDebug,
$fixnum.Int64? totalFatal,
}) {
final _result = create();
if (total != null) {
_result.total = total;
}
if (totalError != null) {
_result.totalError = totalError;
}
if (totalInfo != null) {
_result.totalInfo = totalInfo;
}
if (totalWarn != null) {
_result.totalWarn = totalWarn;
}
if (totalDebug != null) {
_result.totalDebug = totalDebug;
}
if (totalFatal != null) {
_result.totalFatal = totalFatal;
}
return _result;
}