geo-smart-app/lib/bloc/setting/setting_event.dart

23 lines
453 B
Dart
Raw Permalink Normal View History

2020-07-28 18:11:47 +00:00
import 'package:equatable/equatable.dart';
class SettingEvent extends Equatable {
const SettingEvent();
@override
List<Object> get props => [];
}
class SettingSet extends SettingEvent {
final String host;
2024-12-25 05:37:16 +00:00
const SettingSet({required this.host}) : assert(host != null && host != "");
2020-07-28 18:11:47 +00:00
@override
List<Object> get props => [];
@override
String toString() => "SettingSet { host: $host }";
}
class SettingClear extends SettingEvent {}