toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (displayName != null) 'displayName': displayName!,
      if (etag != null) 'etag': etag!,
      if (insightTypeGenerationConfig != null)
        'insightTypeGenerationConfig': insightTypeGenerationConfig!,
      if (name != null) 'name': name!,
      if (revisionId != null) 'revisionId': revisionId!,
      if (updateTime != null) 'updateTime': updateTime!,
    };