LighthouseCategoryV5.fromJson constructor

LighthouseCategoryV5.fromJson(
  1. Map json_
)

Implementation

LighthouseCategoryV5.fromJson(core.Map json_)
    : this(
        auditRefs: json_.containsKey('auditRefs')
            ? (json_['auditRefs'] as core.List)
                .map((value) => AuditRefs.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        manualDescription: json_.containsKey('manualDescription')
            ? json_['manualDescription'] as core.String
            : null,
        score: json_.containsKey('score') ? json_['score'] : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );