toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (availability != null) 'availability': availability!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (recommendedDeployment != null)
        'recommendedDeployment': recommendedDeployment!,
      if (recommendedVersion != null)
        'recommendedVersion': recommendedVersion!,
      if (updateTime != null) 'updateTime': updateTime!,
    };