forked from eatvio/eatvio_app
feat: webview registration
This commit is contained in:
18
lib/features/auth/presentation/bloc/auth_state.dart
Normal file
18
lib/features/auth/presentation/bloc/auth_state.dart
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user