new chat widget

This commit is contained in:
Christien Rioux 2025-05-17 18:02:17 -04:00
parent 063eeb8d12
commit 1a9cca0667
44 changed files with 1904 additions and 981 deletions

View file

@ -15,8 +15,9 @@ part 'local_account.freezed.dart';
// and the identitySecretKey optionally encrypted by an unlock code
// This is the root of the account information tree for VeilidChat
//
@freezed
sealed class LocalAccount with _$LocalAccount {
@Freezed(toJson: true)
abstract class LocalAccount with _$LocalAccount {
@JsonSerializable()
const factory LocalAccount({
// The super identity key record for the account,
// containing the publicKey in the currentIdentity

View file

@ -153,6 +153,7 @@ class _$LocalAccountCopyWithImpl<$Res> implements $LocalAccountCopyWith<$Res> {
}
/// @nodoc
@JsonSerializable()
class _LocalAccount implements LocalAccount {
const _LocalAccount(
@ -162,8 +163,6 @@ class _LocalAccount implements LocalAccount {
required this.biometricsEnabled,
required this.hiddenAccount,
required this.name});
factory _LocalAccount.fromJson(Map<String, dynamic> json) =>
_$LocalAccountFromJson(json);
// The super identity key record for the account,
// containing the publicKey in the currentIdentity