markThreadRead method
Mark the specified notification thread as read.
API docs: https://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read
Implementation
Future<bool> markThreadRead(String threadId) {
return github.request('PATCH', '/notifications/threads/$threadId').then((
response,
) {
return response.statusCode == StatusCodes.RESET_CONTENT;
});
}