toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (currentValue != null) 'currentValue': currentValue!,
      if (fieldPath != null) 'fieldPath': fieldPath!,
      if (installationFailureReason != null)
        'installationFailureReason': installationFailureReason!,
      if (nonComplianceReason != null)
        'nonComplianceReason': nonComplianceReason!,
      if (packageName != null) 'packageName': packageName!,
      if (settingName != null) 'settingName': settingName!,
      if (specificNonComplianceContext != null)
        'specificNonComplianceContext': specificNonComplianceContext!,
      if (specificNonComplianceReason != null)
        'specificNonComplianceReason': specificNonComplianceReason!,
    };