SpaceHeader constructor

SpaceHeader({
  1. List<int>? identity,
  2. Int64? timestamp,
  3. String? spaceType,
  4. Int64? replicationKey,
  5. List<int>? seed,
  6. List<int>? spaceHeaderPayload,
})

Implementation

factory SpaceHeader({
  $core.List<$core.int>? identity,
  $fixnum.Int64? timestamp,
  $core.String? spaceType,
  $fixnum.Int64? replicationKey,
  $core.List<$core.int>? seed,
  $core.List<$core.int>? spaceHeaderPayload,
}) {
  final result = create();
  if (identity != null) result.identity = identity;
  if (timestamp != null) result.timestamp = timestamp;
  if (spaceType != null) result.spaceType = spaceType;
  if (replicationKey != null) result.replicationKey = replicationKey;
  if (seed != null) result.seed = seed;
  if (spaceHeaderPayload != null)
    result.spaceHeaderPayload = spaceHeaderPayload;
  return result;
}