setProperties method

void setProperties(
  1. JSON json
)

Implementation

void setProperties(JSON json) {
  type = json["actionType"] ?? type;
  url = json["url"] ?? url;
  force = json["force"] == null ? force : json["force"];
  animationType = json["animationType"] ?? animationType;
  animationTime = json["animationTime"] ?? animationTime;
}