mirror of
https://github.com/supanadit/geo-smart-app.git
synced 2024-11-22 18:16:44 +00:00
24 lines
487 B
Dart
24 lines
487 B
Dart
|
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 {}
|