ArchiveIndexEntry constructor

ArchiveIndexEntry({
  1. Int64? heightFrom,
  2. Int64? heightTo,
  3. PrincipalId? canisterId,
})

Implementation

factory ArchiveIndexEntry({
  $fixnum.Int64? heightFrom,
  $fixnum.Int64? heightTo,
  $0.PrincipalId? canisterId,
}) {
  final $result = create();
  if (heightFrom != null) {
    $result.heightFrom = heightFrom;
  }
  if (heightTo != null) {
    $result.heightTo = heightTo;
  }
  if (canisterId != null) {
    $result.canisterId = canisterId;
  }
  return $result;
}