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

24 lines
487 B
Dart
Raw Normal View History

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