DeviceSettingsRequest constructor
DeviceSettingsRequest({})
Implementation
DeviceSettingsRequest(
{required String action,
required String manufacturer,
required String model,
required String version,
required bool seen,
required int lastSeenAt}) {
this.action = action;
this.manufacturer = manufacturer;
this.model = model;
this.version = version;
this.seen = seen;
this.lastSeenAt = (lastSeenAt > 0)
? DateTime.fromMillisecondsSinceEpoch(lastSeenAt)
: null;
}