ContactPlatformApi class

Constructors

ContactPlatformApi(MethodChannel _methodChannel)

Properties

encrypted EncryptedContactPlatformApi
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tryAndRecover TryAndRecoverContactPlatformApi
getter/setter pair

Methods

createContact(String sdkId, DecryptedContact entity) Future<DecryptedContact>
createContacts(String sdkId, List<DecryptedContact> entities) Future<List<DecryptedContact>>
createDelegationDeAnonymizationMetadata(String sdkId, Contact entity, Set<String> delegates) Future<void>
decrypt(String sdkId, EncryptedContact contact) Future<DecryptedContact>
decryptPatientIdOf(String sdkId, Contact contact) Future<Set<String>>
decryptService(String sdkId, EncryptedService service) Future<DecryptedService>
deleteContact(String sdkId, Contact contact) Future<DocIdentifier>
deleteContactById(String sdkId, String entityId, String rev) Future<DocIdentifier>
deleteContacts(String sdkId, List<Contact> contacts) Future<List<DocIdentifier>>
deleteContactsByIds(String sdkId, List<IdWithMandatoryRev> entityIds) Future<List<DocIdentifier>>
filterContactsBy(String sdkId, FilterOptions<Contact> filter) Future<PaginatedListIterator<DecryptedContact>>
filterContactsBySorted(String sdkId, SortableFilterOptions<Contact> filter) Future<PaginatedListIterator<DecryptedContact>>
filterServicesBy(String sdkId, FilterOptions<Service> filter) Future<PaginatedListIterator<DecryptedService>>
filterServicesBySorted(String sdkId, SortableFilterOptions<Service> filter) Future<PaginatedListIterator<DecryptedService>>
getContact(String sdkId, String entityId) Future<DecryptedContact>
getContacts(String sdkId, List<String> entityIds) Future<List<DecryptedContact>>
getEncryptionKeysOf(String sdkId, Contact contact) Future<Set<HexString>>
getService(String sdkId, String serviceId) Future<DecryptedService>
getServiceCodesOccurrences(String sdkId, String codeType, int minOccurrences) Future<List<LabelledOccurence>>
getServices(String sdkId, List<String> entityIds) Future<List<DecryptedService>>
hasWriteAccess(String sdkId, Contact contact) Future<bool>
matchContactsBy(String sdkId, FilterOptions<Contact> filter) Future<List<String>>
matchContactsBySorted(String sdkId, SortableFilterOptions<Contact> filter) Future<List<String>>
matchServicesBy(String sdkId, FilterOptions<Service> filter) Future<List<String>>
matchServicesBySorted(String sdkId, SortableFilterOptions<Service> filter) Future<List<String>>
modifyContact(String sdkId, DecryptedContact entity) Future<DecryptedContact>
modifyContacts(String sdkId, List<DecryptedContact> entities) Future<List<DecryptedContact>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeContact(String sdkId, Contact contact) Future<void>
purgeContactById(String sdkId, String id, String rev) Future<void>
shareWith(String sdkId, String delegateId, DecryptedContact contact, ContactShareOptions? options) Future<DecryptedContact>
shareWithMany(String sdkId, DecryptedContact contact, Map<String, ContactShareOptions> delegates) Future<DecryptedContact>
subscribeToEvents(String sdkId, Set<SubscriptionEventType> events, FilterOptions<Contact> filter, EntitySubscriptionConfiguration? subscriptionConfig) Future<EntitySubscription<EncryptedContact>>
subscribeToServiceCreateOrUpdateEvents(String sdkId, FilterOptions<Service> filter, EntitySubscriptionConfiguration? subscriptionConfig) Future<EntitySubscription<EncryptedService>>
toString() String
A string representation of this object.
inherited
tryDecrypt(String sdkId, EncryptedContact contact) Future<Contact>
tryDecryptService(String sdkId, EncryptedService service) Future<Service>
undeleteContact(String sdkId, Contact contact) Future<DecryptedContact>
undeleteContactById(String sdkId, String id, String rev) Future<DecryptedContact>
withEncryptionMetadata(String sdkId, DecryptedContact? base, Patient patient, User? user, Map<String, AccessLevel> delegates, SecretIdUseOption secretId) Future<DecryptedContact>

Operators

operator ==(Object other) bool
The equality operator.
inherited