Urls.fromJson constructor

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

Implementation

Urls.fromJson(Map<String, dynamic> json) {
  if (json["barebone_js"] is String) this.bareboneJs = json["barebone_js"];
  if (json["test_imp"] is String) this.testImp = json["test_imp"];
  if (json["js_base"] is String) this.jsBase = json["js_base"];
  if (json["fresnel"] is String) this.fresnel = json["fresnel"];
  if (json["js"] is String) this.js = json["js"];
  if (json["proxy"] is String) this.proxy = json["proxy"];
  if (json["mux_url"] is String) this.muxUrl = json["mux_url"];
  if (json["fresnel_mimir_inputs_url"] is String)
    this.fresnelMimirInputsUrl = json["fresnel_mimir_inputs_url"];
  if (json["fresnel_chunk_url"] is String)
    this.fresnelChunkUrl = json["fresnel_chunk_url"];
  if (json["three_js"] is String) this.threeJs = json["three_js"];
  if (json["vuid_js"] is String) this.vuidJs = json["vuid_js"];
  if (json["fresnel_manifest_url"] is String)
    this.fresnelManifestUrl = json["fresnel_manifest_url"];
  if (json["chromeless_css"] is String)
    this.chromelessCss = json["chromeless_css"];
  if (json["player_telemetry_url"] is String)
    this.playerTelemetryUrl = json["player_telemetry_url"];
  if (json["chromeless_js"] is String)
    this.chromelessJs = json["chromeless_js"];
  if (json["css"] is String) this.css = json["css"];
}