AbTests.fromJson constructor

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

Implementation

AbTests.fromJson(Map<String, dynamic> json) {
  if (json["chromecast"] is Map)
    this.chromecast = json["chromecast"] == null
        ? null
        : Chromecast.fromJson(json["chromecast"]);
  if (json["stats_fresnel"] is Map)
    this.statsFresnel = json["stats_fresnel"] == null
        ? null
        : StatsFresnel.fromJson(json["stats_fresnel"]);
  if (json["llhls_timeout"] is Map)
    this.llhlsTimeout = json["llhls_timeout"] == null
        ? null
        : LlhlsTimeout.fromJson(json["llhls_timeout"]);
  if (json["cmcd"] is Map)
    this.cmcd = json["cmcd"] == null ? null : Cmcd.fromJson(json["cmcd"]);
}