Event.fromJson constructor

Event.fromJson(Map _json)

Implementation

Event.fromJson(core.Map _json) {
  if (_json.containsKey("description")) {
    description = _json["description"];
  }
  if (_json.containsKey("details")) {
    details = (_json["details"] as core.Map).cast<core.String, core.Object>();
  }
  if (_json.containsKey("timestamp")) {
    timestamp = _json["timestamp"];
  }
}