listFromJson static method

List<Notification> listFromJson(
  1. List? json
)

Implementation

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