toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalImpact != null) 'additionalImpact': additionalImpact!,
      if (associatedInsights != null)
        'associatedInsights': associatedInsights!,
      if (content != null) 'content': content!,
      if (description != null) 'description': description!,
      if (etag != null) 'etag': etag!,
      if (lastRefreshTime != null) 'lastRefreshTime': lastRefreshTime!,
      if (name != null) 'name': name!,
      if (primaryImpact != null) 'primaryImpact': primaryImpact!,
      if (priority != null) 'priority': priority!,
      if (recommenderSubtype != null)
        'recommenderSubtype': recommenderSubtype!,
      if (stateInfo != null) 'stateInfo': stateInfo!,
      if (targetResources != null) 'targetResources': targetResources!,
      if (xorGroupId != null) 'xorGroupId': xorGroupId!,
    };