AuthenticationKey constructor

AuthenticationKey({
  1. String? authenticationKeyId,
  2. Details? details,
  3. AuthNKeyType? type,
  4. Timestamp? expirationDate,
})

Implementation

factory AuthenticationKey({
  $core.String? authenticationKeyId,
  $2.Details? details,
  AuthNKeyType? type,
  $0.Timestamp? expirationDate,
}) {
  final result = create();
  if (authenticationKeyId != null)
    result.authenticationKeyId = authenticationKeyId;
  if (details != null) result.details = details;
  if (type != null) result.type = type;
  if (expirationDate != null) result.expirationDate = expirationDate;
  return result;
}