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;
}