AggregateEventRecord constructor

AggregateEventRecord({
  1. Timestamp? timestamp,
  2. Event? event,
  3. Snapshot? snapshot,
})

Implementation

factory AggregateEventRecord({
  $4.Timestamp? timestamp,
  $46.Event? event,
  Snapshot? snapshot,
}) {
  final _result = create();
  if (timestamp != null) {
    _result.timestamp = timestamp;
  }
  if (event != null) {
    _result.event = event;
  }
  if (snapshot != null) {
    _result.snapshot = snapshot;
  }
  return _result;
}