passo_mobile_app/lib/bloc/profile/profile_state.dart

30 lines
632 B
Dart
Raw Normal View History

part of 'profile_bloc.dart';
abstract class ProfileState extends Equatable {
const ProfileState();
2023-02-20 07:48:24 +00:00
@override
List<Object> get props => [];
}
class ProfileInitial extends ProfileState {}
2023-02-20 07:48:24 +00:00
class ProfileLoaded extends ProfileState {
final ProfileInformation profileInformation;
2023-02-20 07:48:24 +00:00
const ProfileLoaded({required this.profileInformation});
@override
List<Object> get props => [profileInformation];
}
2023-02-20 07:48:24 +00:00
class ProfileErrorState extends ProfileState {
final String mesage;
const ProfileErrorState({required this.mesage});
2023-02-20 07:48:24 +00:00
@override
List<Object> get props => [mesage];
}
2023-02-20 07:48:24 +00:00
class ProfileLoading extends ProfileState {}
2023-02-20 07:48:24 +00:00
2023-02-27 06:26:27 +00:00