LogWatchEvent constructor

LogWatchEvent({
  1. String? logId,
  2. Iterable<RawRecordWithId>? records,
  3. Err? error,
})

Implementation

factory LogWatchEvent({
  $core.String? logId,
  $core.Iterable<RawRecordWithId>? records,
  Err? error,
}) {
  final result = create();
  if (logId != null) result.logId = logId;
  if (records != null) result.records.addAll(records);
  if (error != null) result.error = error;
  return result;
}