factory OsHistory.fromJson(Map<String, dynamic> json) => OsHistory( datetime: json["datetime"] == null ? null : DateTime.parse(json["datetime"]), os: json["os"], );