Closed yokiran closed 5 years ago
Hi.
Every other labels would be greatly appreciated as well. Maybe a Map<String,String> to check if the field is present?
Personally, I need to loop over the "labels" (from Android contact). Any idea of how to do that ?
@gotgot1995 I'm working on support for more labels, but updating contacts is a higher priority at the moment so this particular request may be delayed. PRs are definitely welcome. Also, perhaps you could try something like this to loop over the "labels".
contacts.phones.map((i) {
print("Label: ${i.label}");
print("Value: ${i.value}");
});
Besides Work, Mobile and Home, can Fax be added as label please.