toJson method
Serializes this Space into a json Map
Implementation
@override
Map<String, dynamic> toJson() {
final superJson = super.toJson();
superJson['type'] = 'sharedSpace';
superJson['realSpace'] = realSpace.toString();
return superJson;
}