Event.fromJson constructor

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

Implementation

Event.fromJson(Map<String, dynamic> json) {
  type = json["type"];
  target = json["target"];
  attachment = json["attachment"];
  action = json["action"];
  direction = json["direction"];
  mode = json["mode"];
  object = json["object"];
  value = json['value'];
  data = json['data'];
}