1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00
comunicmobile/lib/models/search_result.dart

19 lines
289 B
Dart
Raw Normal View History

2020-04-17 08:30:29 +00:00
/// Single search result
///
/// @author Pierre Hubert
enum SearchResultKind { USER, GROUP }
class SearchResult {
final int id;
final SearchResultKind kind;
SearchResult({
required this.id,
required this.kind,
2020-04-17 08:30:29 +00:00
}) : assert(id != null),
assert(kind != null);
}