mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-12-01 23:54:56 +00:00
fixed issues in space
This commit is contained in:
@ -6,14 +6,14 @@ class Community {
|
||||
Community({
|
||||
required this.uuid,
|
||||
required this.name,
|
||||
required this.description,
|
||||
this.description = '',
|
||||
});
|
||||
|
||||
factory Community.fromJson(Map<String, dynamic> json) {
|
||||
return Community(
|
||||
uuid: json['uuid'],
|
||||
name: json['name'],
|
||||
description: json['description'],
|
||||
uuid: json['uuid'] ?? '',
|
||||
name: json['name'] ?? 'Unnamed Community',
|
||||
description: json['description'] ?? '',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user