ProtectedStorageEntry constructor

ProtectedStorageEntry({
  1. StoragePayload? storagePayload,
  2. List<int>? ownerPubKeyBytes,
  3. int? sequenceNumber,
  4. List<int>? signature,
  5. Int64? creationTimeStamp,
})

Implementation

factory ProtectedStorageEntry({
  StoragePayload? storagePayload,
  $core.List<$core.int>? ownerPubKeyBytes,
  $core.int? sequenceNumber,
  $core.List<$core.int>? signature,
  $fixnum.Int64? creationTimeStamp,
}) {
  final $result = create();
  if (storagePayload != null) {
    $result.storagePayload = storagePayload;
  }
  if (ownerPubKeyBytes != null) {
    $result.ownerPubKeyBytes = ownerPubKeyBytes;
  }
  if (sequenceNumber != null) {
    $result.sequenceNumber = sequenceNumber;
  }
  if (signature != null) {
    $result.signature = signature;
  }
  if (creationTimeStamp != null) {
    $result.creationTimeStamp = creationTimeStamp;
  }
  return $result;
}