Fetch account data

This commit is contained in:
Henry Hiles 2026-03-01 13:58:24 -05:00
commit 97f4bc78f0
No known key found for this signature in database
4 changed files with 46 additions and 2 deletions

View file

@ -0,0 +1,16 @@
import "package:freezed_annotation/freezed_annotation.dart";
part "account_data.freezed.dart";
part "account_data.g.dart";
@freezed
abstract class AccountData with _$AccountData {
const factory AccountData({
required String userId,
required String? roomId,
required String type,
required dynamic content,
}) = _AccountData;
factory AccountData.fromJson(Map<String, Object?> json) =>
_$AccountDataFromJson(json);
}