toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (assetTags != null) 'assetTags': assetTags!,
      if (complianceState != null) 'complianceState': complianceState!,
      if (createTime != null) 'createTime': createTime!,
      if (customId != null) 'customId': customId!,
      if (etag != null) 'etag': etag!,
      if (healthScore != null) 'healthScore': healthScore!,
      if (keyValuePairs != null) 'keyValuePairs': keyValuePairs!,
      if (lastUpdateTime != null) 'lastUpdateTime': lastUpdateTime!,
      if (managed != null) 'managed': managed!,
      if (name != null) 'name': name!,
      if (ownerType != null) 'ownerType': ownerType!,
      if (scoreReason != null) 'scoreReason': scoreReason!,
    };