getPageLikeCount method

Future<Map<String, dynamic>> getPageLikeCount(
  1. int id
)

Returns the count of likes of specific page.

Permissions required: Permission to view the content of the page and its corresponding space.

Implementation

Future<Map<String, dynamic>> getPageLikeCount(int id) async {
  return await _client.send(
    'get',
    'pages/{id}/likes/count',
    pathParameters: {
      'id': '$id',
    },
  ) as Map<String, Object?>;
}