LicenseAttributes constructor

LicenseAttributes({
  1. String? name,
  2. required String key,
  3. DateTime? expiry,
  4. required LicenseAttributesStatusEnum status,
  5. required int uses,
  6. required bool protected,
  7. String? version,
  8. required bool suspended,
  9. required bool floating,
  10. LicenseAttributesSchemeEnum? scheme,
  11. required bool strict,
  12. required int? maxMachines,
  13. int? maxProcesses,
  14. int? maxCores,
  15. int? maxUses,
  16. required bool requireHeartbeat,
  17. required bool requireCheckIn,
  18. DateTime? lastValidated,
  19. DateTime? lastCheckOut,
  20. DateTime? lastCheckIn,
  21. DateTime? nextCheckIn,
  22. Map<String, Object> metadata = const {},
  23. required DateTime created,
  24. required DateTime updated,
})

Returns a new LicenseAttributes instance.

Implementation

LicenseAttributes({
  this.name,
  required this.key,
  this.expiry,
  required this.status,
  required this.uses,
  required this.protected,
  this.version,
  required this.suspended,
  required this.floating,
  this.scheme,
  required this.strict,
  required this.maxMachines,
  this.maxProcesses,
  this.maxCores,
  this.maxUses,
  required this.requireHeartbeat,
  required this.requireCheckIn,
  this.lastValidated,
  this.lastCheckOut,
  this.lastCheckIn,
  this.nextCheckIn,
  this.metadata = const {},
  required this.created,
  required this.updated,
});