Secret constructor

Secret({
  1. required String id,
  2. required String projectId,
  3. String? ownerUserId,
  4. String? ownerServiceAccountId,
  5. String? createdByUserId,
  6. String? createdByServiceAccountId,
  7. required String type,
  8. required String name,
  9. required bool httpOnly,
  10. required Map<String, dynamic> metadata,
  11. required Map<String, dynamic> annotations,
  12. String? currentVersionId,
  13. String? valueBase64,
  14. required DateTime createdAt,
  15. required DateTime updatedAt,
})

Implementation

Secret({
  required this.id,
  required this.projectId,
  this.ownerUserId,
  this.ownerServiceAccountId,
  this.createdByUserId,
  this.createdByServiceAccountId,
  required this.type,
  required this.name,
  required this.httpOnly,
  required this.metadata,
  required this.annotations,
  this.currentVersionId,
  this.valueBase64,
  required this.createdAt,
  required this.updatedAt,
});