ROOMS
This commit is contained in:
parent
65028a1231
commit
aaeee8e355
10 changed files with 527 additions and 164 deletions
13
lib/models/full_room.dart
Normal file
13
lib/models/full_room.dart
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import "package:flutter/widgets.dart";
|
||||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
import "package:matrix/matrix.dart";
|
||||
part "full_room.freezed.dart";
|
||||
|
||||
@freezed
|
||||
abstract class FullRoom with _$FullRoom {
|
||||
const factory FullRoom({
|
||||
required Room roomData,
|
||||
required String title,
|
||||
required Image? avatar,
|
||||
}) = _FullRoom;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue