toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (createTime != null) 'createTime': createTime!,
if (creator != null) 'creator': creator!,
if (environmentConfig != null) 'environmentConfig': environmentConfig!,
if (jupyterSession != null) 'jupyterSession': jupyterSession!,
if (labels != null) 'labels': labels!,
if (name != null) 'name': name!,
if (runtimeConfig != null) 'runtimeConfig': runtimeConfig!,
if (runtimeInfo != null) 'runtimeInfo': runtimeInfo!,
if (sessionTemplate != null) 'sessionTemplate': sessionTemplate!,
if (state != null) 'state': state!,
if (stateHistory != null) 'stateHistory': stateHistory!,
if (stateMessage != null) 'stateMessage': stateMessage!,
if (stateTime != null) 'stateTime': stateTime!,
if (user != null) 'user': user!,
if (uuid != null) 'uuid': uuid!,
};