TF-548 Create abstract AutoCompleteDataSource common to all

This commit is contained in:
dab246
2022-05-13 09:25:29 +07:00
committed by Dat H. Pham
parent ae830544de
commit 0fc14a6c76
28 changed files with 100 additions and 98 deletions
@@ -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];
}