DeviceSession constructor
const
DeviceSession({
- required String deviceToken,
- required int expiresIn,
- required String deviceId,
- required String productType,
- required int merchantId,
- required int outletId,
- String? merchantName,
- String? outletName,
- String? friendlyDeviceId,
- String? friendlyName,
- BrandingInfo branding = const BrandingInfo(),
- String currency = '',
- String currencySymbol = '',
- int slotsUsed = 0,
- int slotsTotal = 0,
- bool setupComplete = true,
- bool reactivated = false,
- 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 = '',
});