toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'sourceCodeLocation': sourceCodeLocation.toJson(),
    'propertyRuleIssueReason': propertyRuleIssueReason.toJson(),
    if (propertyValue != null) 'propertyValue': propertyValue,
  };
}