InboxNotificationPageData.fromJson constructor
Implementation
factory InboxNotificationPageData.fromJson(Map<String, dynamic> json) {
final items = (json['items'] as List<dynamic>? ?? [])
.map((e) => InboxNotificationData.fromJson(Map<String, dynamic>.from(e as Map)))
.toList();
return InboxNotificationPageData(
items: items,
nextCursor: json['nextCursor'],
hasMore: json['hasMore'] ?? false,
);
}