toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (annotations != null) 'annotations': annotations!,
  if (config != null) 'config': config!,
  if (createTime != null) 'createTime': createTime!,
  if (deleteTime != null) 'deleteTime': deleteTime!,
  if (displayName != null) 'displayName': displayName!,
  if (etag != null) 'etag': etag!,
  if (name != null) 'name': name!,
  if (nodePoolAutoscaling != null)
    'nodePoolAutoscaling': nodePoolAutoscaling!,
  if (onPremVersion != null) 'onPremVersion': onPremVersion!,
  if (reconciling != null) 'reconciling': reconciling!,
  if (state != null) 'state': state!,
  if (status != null) 'status': status!,
  if (uid != null) 'uid': uid!,
  if (updateTime != null) 'updateTime': updateTime!,
};