VulnerabilityAssessmentNote.fromJson constructor

VulnerabilityAssessmentNote.fromJson(
  1. Map json_
)

Implementation

VulnerabilityAssessmentNote.fromJson(core.Map json_)
    : this(
        assessment: json_.containsKey('assessment')
            ? Assessment.fromJson(
                json_['assessment'] as core.Map<core.String, core.dynamic>)
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        longDescription: json_.containsKey('longDescription')
            ? json_['longDescription'] as core.String
            : null,
        product: json_.containsKey('product')
            ? Product.fromJson(
                json_['product'] as core.Map<core.String, core.dynamic>)
            : null,
        publisher: json_.containsKey('publisher')
            ? Publisher.fromJson(
                json_['publisher'] as core.Map<core.String, core.dynamic>)
            : null,
        shortDescription: json_.containsKey('shortDescription')
            ? json_['shortDescription'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );