DeviceSession constructor

const DeviceSession({
  1. required String deviceToken,
  2. required int expiresIn,
  3. required String deviceId,
  4. required String productType,
  5. required int merchantId,
  6. required int outletId,
  7. String? merchantName,
  8. String? outletName,
  9. String? friendlyDeviceId,
  10. String? friendlyName,
  11. BrandingInfo branding = const BrandingInfo(),
  12. String currency = '',
  13. String currencySymbol = '',
  14. int slotsUsed = 0,
  15. int slotsTotal = 0,
  16. bool setupComplete = true,
  17. bool reactivated = false,
  18. String message = '',
})

Implementation

const DeviceSession({
  required this.deviceToken,
  required this.expiresIn,
  required this.deviceId,
  required this.productType,
  required this.merchantId,
  required this.outletId,
  this.merchantName,
  this.outletName,
  this.friendlyDeviceId,
  this.friendlyName,
  this.branding = const BrandingInfo(),
  this.currency = '',
  this.currencySymbol = '',
  this.slotsUsed = 0,
  this.slotsTotal = 0,
  this.setupComplete = true,
  this.reactivated = false,
  this.message = '',
});