initializeData method
Implementation
Future<SpaceData?> initializeData({
required String spaceId,
}) async {
final result = await initializeSpace(spaceId: spaceId);
if (result != null) {
data = result;
notifyListeners();
return result;
} else {
throw Exception('Invalid Space id');
}
}