internal static ThemeFlow FromJson(JsonObject json)
{
if (json == null) return null;
ThemeFlow flow = new ThemeFlow();
flow.FlowEnabled = (bool)json["flowEnabled"];
flow.LeaderLineDisplayed = (bool)json["leaderLineDisplayed"];
if (json["leaderLineStyle"] != null)
{
flow.LeaderLineStyle = ServerStyle.FromJson((JsonObject)json["leaderLineStyle"]);
}
return flow;
}