OsHistory.fromJson constructor

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

Implementation

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