getNotifications method
Implementation
@override
Future<Result<InAppNotifications>> getNotifications(String? cursor) {
const path = 'v1/notifications';
return http.get(
uri: Uri.parse('$baseUrl/$path').toString(),
queryParameters: {'after': cursor},
success: (json) => InAppNotifications.fromJson(json),
);
}