toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (displayName != null) 'displayName': displayName!,
      if (env != null) 'env': env!,
      if (etag != null) 'etag': etag!,
      if (host != null) 'host': host!,
      if (kmsKey != null) 'kmsKey': kmsKey!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };