toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (asset != null) 'asset': asset!,
      if (category != null) 'category': category!,
      if (dataLocations != null) 'dataLocations': dataLocations!,
      if (detectTime != null) 'detectTime': detectTime!,
      if (failedSecurityPolicyApply != null)
        'failedSecurityPolicyApply': failedSecurityPolicyApply!,
      if (incompatibleDataSchema != null)
        'incompatibleDataSchema': incompatibleDataSchema!,
      if (invalidDataFormat != null) 'invalidDataFormat': invalidDataFormat!,
      if (invalidDataOrganization != null)
        'invalidDataOrganization': invalidDataOrganization!,
      if (invalidDataPartition != null)
        'invalidDataPartition': invalidDataPartition!,
      if (issue != null) 'issue': issue!,
      if (lake != null) 'lake': lake!,
      if (missingData != null) 'missingData': missingData!,
      if (missingResource != null) 'missingResource': missingResource!,
      if (name != null) 'name': name!,
      if (unauthorizedResource != null)
        'unauthorizedResource': unauthorizedResource!,
      if (zone != null) 'zone': zone!,
    };