Files
flutter-go/lib/blocs/industry_state.dart
2019-05-01 00:32:55 +08:00

35 lines
724 B
Dart
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Created with Android Studio.
* User: 一晟
* Date: 2019/4/28
* Time: 3:37 PM
* email: zhu.yan@alibaba-inc.com
*/
abstract class SuggestionState {}
class SuggestionError extends SuggestionState {
@override
String toString() => 'SuggestionError获取失败';
}
class SuggestionUninitialized extends SuggestionState {
@override
String toString() => 'SuggestionUninitialized未初始化';
}
class SuggestionLoading extends SuggestionState {
@override
String toString() => 'SuggestionLoading :正在加载';
}
class SuggestionLoaded extends SuggestionState {
final List res;
SuggestionLoaded({
this.res,
});
@override
String toString() => 'SuggestionLoaded加载完毕';
}