forked from Henry-Hiles/nexus
wip go 2
This commit is contained in:
parent
77d9f9bdc1
commit
2a86bdafeb
12 changed files with 156 additions and 199 deletions
|
|
@ -1,20 +0,0 @@
|
|||
import "package:fast_immutable_collections/fast_immutable_collections.dart";
|
||||
import "package:flutter/widgets.dart";
|
||||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
import "package:matrix/matrix.dart";
|
||||
import "package:nexus/models/full_room.dart";
|
||||
part "space.freezed.dart";
|
||||
|
||||
@freezed
|
||||
abstract class Space with _$Space {
|
||||
const Space._();
|
||||
const factory Space({
|
||||
required String title,
|
||||
required String id,
|
||||
required IList<FullRoom> children,
|
||||
required Client client,
|
||||
Room? roomData,
|
||||
Uri? avatar,
|
||||
IconData? icon,
|
||||
}) = _Space;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue