DeviceSession class

Constructors

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 = ''})
const
DeviceSession.fromJson(Map<String, dynamic> json)
factory

Properties

branding → BrandingInfo
final
currency → String
final
currencySymbol → String
final
deviceId → String
final
deviceToken → String
final
expiresIn → int
final
friendlyDeviceId → String?
final
friendlyName → String?
final
hashCode → int
The hash code for this object.
no setterinherited
merchantId → int
final
merchantName → String?
final
message → String
final
outletId → int
final
outletName → String?
final
productType → String
final
reactivated → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
setupComplete → bool
final
slotsTotal → int
final
slotsUsed → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited