geo-smart-app/lib/bloc/setting/setting_event.dart
2020-07-29 01:11:47 +07:00

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 {}