I am fetching phone contacts where it gives the list of contacts. From the list I want only a few properties like display name, email and phone contacts only. How can we get only those properties from the contact list and ignore the other properties?
List<Contact>? contactsList = await FlutterContacts.getContacts(
withProperties: true, withPhoto: false);
use below code.
i hope it will help you.