Device.fromMap constructor
Implementation
factory Device.fromMap(Map<String, dynamic> json) => Device(
code: json["code"],
description: json["description"],
deviceIdentifier: json["device_identifier"],
deviceInfo: json["device_info"],
companyLicenceCode: json["company_licence_code"],
createdAt: json["created_at"] == null ? null : DateTime.parse(json["created_at"]),
createdBy: json["created_by"],
writeAt: json["write_at"] == null ? null : DateTime.parse(json["write_at"]),
writeBy: json["write_by"],
);