listNotifications method
Listing notifications
Players can list the notifications they received while offline.
Implementation
@override
Future<model.NotificationList> listNotifications({
required model.Session session,
int limit = defaultLimit,
String? cursor,
}) async {
final res = await _client.listNotifications(
api.ListNotificationsRequest(
cacheableCursor: cursor,
limit: api.Int32Value(value: limit),
),
options: _getSessionCallOptions(session),
);
return model.NotificationList.fromDto(res);
}