FailedEvent constructor

FailedEvent({
  1. String? database,
  2. String? viewName,
  3. Int64? failedSequence,
  4. Int64? failureCount,
  5. String? errorMessage,
  6. Timestamp? lastFailed,
})

Implementation

factory FailedEvent({
  $core.String? database,
  $core.String? viewName,
  $fixnum.Int64? failedSequence,
  $fixnum.Int64? failureCount,
  $core.String? errorMessage,
  $6.Timestamp? lastFailed,
}) {
  final $result = create();
  if (database != null) {
    $result.database = database;
  }
  if (viewName != null) {
    $result.viewName = viewName;
  }
  if (failedSequence != null) {
    $result.failedSequence = failedSequence;
  }
  if (failureCount != null) {
    $result.failureCount = failureCount;
  }
  if (errorMessage != null) {
    $result.errorMessage = errorMessage;
  }
  if (lastFailed != null) {
    $result.lastFailed = lastFailed;
  }
  return $result;
}