TF-548 Create abstract AutoCompleteDataSource common to all
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
|
||||
import 'package:equatable/equatable.dart';
|
||||
import 'package:jmap_dart_client/jmap/account_id.dart';
|
||||
|
||||
class AutoCompletePattern with EquatableMixin {
|
||||
|
||||
final String word;
|
||||
final int? limit;
|
||||
final AccountId? accountId;
|
||||
|
||||
AutoCompletePattern({
|
||||
required this.word,
|
||||
this.limit,
|
||||
this.accountId,
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object?> get props => [word, limit, accountId];
|
||||
|
||||
}
|
||||
@@ -67,4 +67,7 @@ export 'contact/device_contact.dart';
|
||||
// Upload
|
||||
export 'upload/file_info.dart';
|
||||
export 'upload/upload_request.dart';
|
||||
export 'upload/upload_response.dart';
|
||||
export 'upload/upload_response.dart';
|
||||
|
||||
// AutoComplete
|
||||
export 'autocomplete/auto_complete_pattern.dart';
|
||||
Reference in New Issue
Block a user