feat: webview registration

This commit is contained in:
BLoC
2025-02-17 12:32:09 +03:00
parent bd519da491
commit 66e2578619
19 changed files with 1429 additions and 158 deletions

View File

@@ -0,0 +1,18 @@
import 'package:freezed_annotation/freezed_annotation.dart';
part 'auth_state.freezed.dart';
@freezed
class AuthState with _$AuthState {
const factory AuthState() = _AuthState;
const factory AuthState.loading() = AuthStateLoading;
const factory AuthState.loaded({
required String token,
}) = AuthStateLoaded;
const factory AuthState.error({
required String errorMessage,
}) = AuthStateError;
}