31 lines
570 B
Dart
31 lines
570 B
Dart
part of 'settings_bloc.dart';
|
|
|
|
@immutable
|
|
abstract class SettingsState extends Equatable {
|
|
const SettingsState();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
// ignore: must_be_immutable
|
|
class SettingsInitial extends SettingsState {
|
|
SettingsInitial();
|
|
}
|
|
|
|
class SettingsLoading extends SettingsState {
|
|
const SettingsLoading();
|
|
}
|
|
|
|
class SettingsReady extends SettingsState {
|
|
const SettingsReady();
|
|
}
|
|
|
|
class SettingsError extends SettingsState {
|
|
final String message;
|
|
const SettingsError(this.message);
|
|
|
|
@override
|
|
List<Object> get props => [message];
|
|
}
|