copy method

HLC copy({
  1. int? timestamp,
  2. int? count,
  3. String? node,
})

Constructs a copy of this HLC with the given parameters.

Implementation

HLC copy({
  int? timestamp,
  int? count,
  String? node,
}) {
  return HLC(
    timestamp: timestamp ?? this.timestamp,
    count: count ?? this.count,
    node: node ?? this.node,
  );
}