working sidebar
This commit is contained in:
parent
c084bc4caf
commit
85d96b80bc
13 changed files with 491 additions and 436 deletions
14
lib/models/space_edge.dart
Normal file
14
lib/models/space_edge.dart
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
part "space_edge.freezed.dart";
|
||||
part "space_edge.g.dart";
|
||||
|
||||
@freezed
|
||||
abstract class SpaceEdge with _$SpaceEdge {
|
||||
const factory SpaceEdge({
|
||||
required String childId,
|
||||
@Default(false) bool suggested,
|
||||
}) = _SpaceEdge;
|
||||
|
||||
factory SpaceEdge.fromJson(Map<String, Object?> json) =>
|
||||
_$SpaceEdgeFromJson(json);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue