toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (createTime != null) 'createTime': createTime!,
if (description != null) 'description': description!,
if (displayName != null) 'displayName': displayName!,
if (endpoints != null) 'endpoints': endpoints!,
if (infrastructureSpec != null)
'infrastructureSpec': infrastructureSpec!,
if (labels != null) 'labels': labels!,
if (name != null) 'name': name!,
if (sessionSpec != null) 'sessionSpec': sessionSpec!,
if (sessionStatus != null) 'sessionStatus': sessionStatus!,
if (state != null) 'state': state!,
if (uid != null) 'uid': uid!,
if (updateTime != null) 'updateTime': updateTime!,
};