License constructor

License({
  1. required num id,
  2. required String token,
  3. required String balenaId,
  4. required String apiKey,
  5. SupportedGateway? supportedGateway,
  6. String? orgId,
  7. String? appId,
  8. bool? available,
  9. LicenseGateway? gateway,
})

Returns a new License instance.

Implementation

License({
  required this.id,
  required this.token,
  required this.balenaId,
  required this.apiKey,
  this.supportedGateway,
  this.orgId,
  this.appId,
  this.available,
  this.gateway,
});