LoggerConfig constructor

LoggerConfig({
  1. String? id,
  2. bool? pushInfoLogs,
  3. bool? pushDebugLogs,
  4. bool? pushErrorLogs,
  5. bool? pushFatalLogs,
  6. bool? pushWarnLogs,
  7. Timestamp? createdAt,
  8. Timestamp? updatedAt,
})

Implementation

factory LoggerConfig({
  $core.String? id,
  $core.bool? pushInfoLogs,
  $core.bool? pushDebugLogs,
  $core.bool? pushErrorLogs,
  $core.bool? pushFatalLogs,
  $core.bool? pushWarnLogs,
  $1.Timestamp? createdAt,
  $1.Timestamp? updatedAt,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (pushInfoLogs != null) {
    _result.pushInfoLogs = pushInfoLogs;
  }
  if (pushDebugLogs != null) {
    _result.pushDebugLogs = pushDebugLogs;
  }
  if (pushErrorLogs != null) {
    _result.pushErrorLogs = pushErrorLogs;
  }
  if (pushFatalLogs != null) {
    _result.pushFatalLogs = pushFatalLogs;
  }
  if (pushWarnLogs != null) {
    _result.pushWarnLogs = pushWarnLogs;
  }
  if (createdAt != null) {
    _result.createdAt = createdAt;
  }
  if (updatedAt != null) {
    _result.updatedAt = updatedAt;
  }
  return _result;
}