NonComplianceDetail.fromJson constructor

NonComplianceDetail.fromJson(
  1. Map json_
)

Implementation

NonComplianceDetail.fromJson(core.Map json_)
    : this(
        currentValue:
            json_.containsKey('currentValue') ? json_['currentValue'] : null,
        fieldPath: json_.containsKey('fieldPath')
            ? json_['fieldPath'] as core.String
            : null,
        installationFailureReason:
            json_.containsKey('installationFailureReason')
                ? json_['installationFailureReason'] as core.String
                : null,
        nonComplianceReason: json_.containsKey('nonComplianceReason')
            ? json_['nonComplianceReason'] as core.String
            : null,
        packageName: json_.containsKey('packageName')
            ? json_['packageName'] as core.String
            : null,
        settingName: json_.containsKey('settingName')
            ? json_['settingName'] as core.String
            : null,
        specificNonComplianceContext:
            json_.containsKey('specificNonComplianceContext')
                ? SpecificNonComplianceContext.fromJson(
                    json_['specificNonComplianceContext']
                        as core.Map<core.String, core.dynamic>)
                : null,
        specificNonComplianceReason:
            json_.containsKey('specificNonComplianceReason')
                ? json_['specificNonComplianceReason'] as core.String
                : null,
      );