Sum constructor

Sum({
  1. Int64? total,
  2. Int64? totalError,
  3. Int64? totalInfo,
  4. Int64? totalWarn,
  5. Int64? totalDebug,
  6. 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;
}