forked from Nexus/nexus
WIP subspace support
This commit is contained in:
parent
7e7e6877e2
commit
6e02cce84f
5 changed files with 54 additions and 25 deletions
10
lib/models/subspace.dart
Normal file
10
lib/models/subspace.dart
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import "package:fast_immutable_collections/fast_immutable_collections.dart";
|
||||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
import "package:nexus/models/room.dart";
|
||||
part "subspace.freezed.dart";
|
||||
|
||||
@freezed
|
||||
abstract class Subspace with _$Subspace {
|
||||
const factory Subspace({required Room room, required IList<Room> children}) =
|
||||
_Subspace;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue