toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (adminInstalled != null) 'adminInstalled': adminInstalled!,
if (createTime != null) 'createTime': createTime!,
if (displayName != null) 'displayName': displayName!,
if (externalUserAllowed != null)
'externalUserAllowed': externalUserAllowed!,
if (importMode != null) 'importMode': importMode!,
if (name != null) 'name': name!,
if (singleUserBotDm != null) 'singleUserBotDm': singleUserBotDm!,
if (spaceDetails != null) 'spaceDetails': spaceDetails!,
if (spaceHistoryState != null) 'spaceHistoryState': spaceHistoryState!,
if (spaceThreadingState != null)
'spaceThreadingState': spaceThreadingState!,
if (spaceType != null) 'spaceType': spaceType!,
if (threaded != null) 'threaded': threaded!,
if (type != null) 'type': type!,
};