single method

  1. @override
Future<Paginated<ChatItemId, Rx<ChatItem>>?> single(
  1. ChatItemId item
)
override

Fetches a single ChatItem in the Paginated page identified by the provided id.

Implementation

@override
Future<Paginated<ChatItemId, Rx<ChatItem>>?> single(ChatItemId item) async {
  Log.debug('single($item)', '$runtimeType($id)');
  return await _paginateAround(item, perPage: 1);
}