PageBeanNotificationScheme.fromJson constructor
Implementation
factory PageBeanNotificationScheme.fromJson(Map<String, Object?> json) {
return PageBeanNotificationScheme(
isLast: json[r'isLast'] as bool? ?? false,
maxResults: (json[r'maxResults'] as num?)?.toInt(),
nextPage: json[r'nextPage'] as String?,
self: json[r'self'] as String?,
startAt: (json[r'startAt'] as num?)?.toInt(),
total: (json[r'total'] as num?)?.toInt(),
values: (json[r'values'] as List<Object?>?)
?.map((i) => NotificationScheme.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}