Files
VibeCoding/webrtc_controller_flutter/lib/features/auth/domain/auth_state.dart
tongtongstudio d5e66a1777 docs(webrtc_controller_flutter): 更新项目文档以反映重构后的架构
AGENTS.md 与 README.md 同步更新:根据实际代码结构重写目录树、技术栈、架构分层及编码规范,移除旧版内联示例并补充新的开发约定与代码生成命令。
2026-08-03 16:12:44 +08:00

15 lines
320 B
Dart

import 'package:freezed_annotation/freezed_annotation.dart';
part 'auth_state.freezed.dart';
/// 登录状态。
@freezed
class AuthState with _$AuthState {
const factory AuthState({
@Default(false) bool loggedIn,
@Default(false) bool restoring,
String? username,
String? error,
}) = _AuthState;
}