CompetitiveVisibilityBenchmarkView.fromJson constructor

CompetitiveVisibilityBenchmarkView.fromJson(
  1. Map json_
)

Implementation

CompetitiveVisibilityBenchmarkView.fromJson(core.Map json_)
  : this(
      categoryBenchmarkVisibilityTrend:
          (json_['categoryBenchmarkVisibilityTrend'] as core.num?)
              ?.toDouble(),
      date: json_.containsKey('date')
          ? Date.fromJson(
              json_['date'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      reportCategoryId: json_['reportCategoryId'] as core.String?,
      reportCountryCode: json_['reportCountryCode'] as core.String?,
      trafficSource: json_['trafficSource'] as core.String?,
      yourDomainVisibilityTrend:
          (json_['yourDomainVisibilityTrend'] as core.num?)?.toDouble(),
    );