TF-548 Create package contact and base autocomplete method/response

This commit is contained in:
dab246
2022-05-12 12:40:57 +07:00
committed by Dat H. Pham
parent 15cc421525
commit 5ba4097661
9 changed files with 183 additions and 0 deletions
@@ -0,0 +1,14 @@
import 'package:jmap_dart_client/jmap/account_id.dart';
import 'package:jmap_dart_client/jmap/core/method/method_response.dart';
import 'package:jmap_dart_client/jmap/core/unsigned_int.dart';
abstract class AutoCompleteResponse<T> extends ResponseRequiringAccountId {
final List<T> list;
final UnsignedInt? limit;
AutoCompleteResponse(
AccountId accountId,
this.list,
this.limit,
) : super(accountId);
}