DeviceUser.fromJson constructor
Implementation
factory DeviceUser.fromJson(Map<String, dynamic> json) {
return DeviceUser(
userId: json['userId'],
businessId: json['businessId'],
deviceId: json['deviceId'],
dateCreated: DateTime.parse(json['dateCreated']),
);
}