LintPolicyResponse.fromJson constructor

LintPolicyResponse.fromJson(
  1. Map json_
)

Implementation

LintPolicyResponse.fromJson(core.Map json_)
    : this(
        lintResults: json_.containsKey('lintResults')
            ? (json_['lintResults'] as core.List)
                .map((value) => LintResult.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );