listFromJson static method
Implementation
static List<Notification> listFromJson(List<dynamic>? json) {
json = json ?? const [];
return [
for (var value in json) Notification.fromJson(value as Map<String, dynamic>),
];
}
static List<Notification> listFromJson(List<dynamic>? json) {
json = json ?? const [];
return [
for (var value in json) Notification.fromJson(value as Map<String, dynamic>),
];
}