DataAppKey constructor

DataAppKey({
  1. String? id,
  2. String? projectId,
  3. String? appId,
  4. String? clientId,
  5. KeyType? type,
  6. Timestamp? expirationDate,
  7. List<int>? publicKey,
})

Implementation

factory DataAppKey({
  $core.String? id,
  $core.String? projectId,
  $core.String? appId,
  $core.String? clientId,
  $15.KeyType? type,
  $6.Timestamp? expirationDate,
  $core.List<$core.int>? publicKey,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (projectId != null) {
    $result.projectId = projectId;
  }
  if (appId != null) {
    $result.appId = appId;
  }
  if (clientId != null) {
    $result.clientId = clientId;
  }
  if (type != null) {
    $result.type = type;
  }
  if (expirationDate != null) {
    $result.expirationDate = expirationDate;
  }
  if (publicKey != null) {
    $result.publicKey = publicKey;
  }
  return $result;
}