toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final auditCheckToReasonCodeFilter = this.auditCheckToReasonCodeFilter;
  final auditTaskId = this.auditTaskId;
  final findingIds = this.findingIds;
  return {
    if (auditCheckToReasonCodeFilter != null)
      'auditCheckToReasonCodeFilter': auditCheckToReasonCodeFilter,
    if (auditTaskId != null) 'auditTaskId': auditTaskId,
    if (findingIds != null) 'findingIds': findingIds,
  };
}