DeviceUser.fromJson constructor

DeviceUser.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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