Cnd.fromJson constructor

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

Implementation

factory Cnd.fromJson(Map<String, dynamic> json) {
  return Cnd(
    name: json["name"],
    where: json["where"] == null ? null : Where.fromJson(json["where"]),
    props:
        json["props"] == null ? null : EventTrigger.fromJson(json["props"]),
  );
}