fromJsonList static method

List<LinksModel> fromJsonList(
  1. dynamic data
)

Implementation

static List<LinksModel> fromJsonList(var data) {
  return data.map<LinksModel>((json) => LinksModel.fromJson(json)).toList();
}