fromJsonList static method

List<AtNotification> fromJsonList(
  1. List<Map<String, dynamic>> jsonList
)

Implementation

static List<AtNotification> fromJsonList(
    List<Map<String, dynamic>> jsonList) {
  final notificationList = <AtNotification>[];
  for (var json in jsonList) {
    notificationList.add(AtNotification.fromJson(json));
  }
  return notificationList;
}