Remediation.fromJson constructor

Remediation.fromJson(
  1. Map json_
)

Implementation

Remediation.fromJson(core.Map json_)
    : this(
        compliantValues: json_.containsKey('compliantValues')
            ? (json_['compliantValues'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        instructions: json_.containsKey('instructions')
            ? Instructions.fromJson(
                json_['instructions'] as core.Map<core.String, core.dynamic>)
            : null,
        remediationType: json_.containsKey('remediationType')
            ? json_['remediationType'] as core.String
            : null,
      );