SpaceCreate constructor

SpaceCreate({
  1. required String key,
  2. required String name,
  3. SpaceDescriptionCreate? description,
  4. List<SpacePermissionCreate>? permissions,
})

Implementation

SpaceCreate(
    {required this.key,
    required this.name,
    this.description,
    List<SpacePermissionCreate>? permissions})
    : permissions = permissions ?? [];