listContacts method
PagingList<Contact>
listContacts({
- String? query,
- bool? phoneQuery,
- bool withThumbnails = true,
- bool withHiResPhoto = true,
- bool withUnifyInfo = false,
- int bufferSize = 20,
- ContactSortOrder? sortBy,
override
Implementation
@override
PagingList<Contact> listContacts(
{String? query,
bool? phoneQuery,
bool withThumbnails = true,
bool withHiResPhoto = true,
bool withUnifyInfo = false,
int bufferSize = 20,
ContactSortOrder? sortBy}) {
final list = PagingList<Contact>(
pageGenerator: _defaultPageGenerator(
this,
query,
phoneQuery,
withThumbnails,
withHiResPhoto,
withUnifyInfo,
sortBy ?? defaultSort,
),
bufferSize: bufferSize,
length: getTotalContacts(query: query, phoneQuery: phoneQuery),
);
return list;
}