mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-27 21:34:55 +00:00
added bloc for create community
This commit is contained in:
@ -44,3 +44,19 @@ class UpdateSpacePositionEvent extends SpaceManagementEvent {
|
||||
@override
|
||||
List<Object> get props => [index, newPosition];
|
||||
}
|
||||
|
||||
|
||||
class CreateCommunityEvent extends SpaceManagementEvent {
|
||||
final String name;
|
||||
final String description;
|
||||
final String regionId;
|
||||
|
||||
CreateCommunityEvent({
|
||||
required this.name,
|
||||
required this.description,
|
||||
required this.regionId,
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object> get props => [name, description, regionId];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user