fromList static method
Implementation
static List<NotificationButtonData> fromList(dynamic buttons) {
List<dynamic> list = buttons;
List<NotificationButtonData> buttonDataList = [];
for (var i in list) {
buttonDataList.add(NotificationButtonData.create(i['title'], i['icon']));
}
return buttonDataList;
}