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 (name != null) 'name': name!,
      if (recommenderGenerationConfig != null)
        'recommenderGenerationConfig': recommenderGenerationConfig!,
      if (revisionId != null) 'revisionId': revisionId!,
      if (updateTime != null) 'updateTime': updateTime!,
    };