CookieIssueInsight.fromJson constructor

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

Implementation

factory CookieIssueInsight.fromJson(Map<String, dynamic> json) {
  return CookieIssueInsight(
    type: InsightType.fromJson(json['type'] as String),
    tableEntryUrl: json.containsKey('tableEntryUrl')
        ? json['tableEntryUrl'] as String
        : null,
  );
}