models_organization_org_infoOrgInfo constructorfromJsonToList methodOn this pagefromJsonToList method List<OrgInfo> fromJsonToList (List json) Implementation List<OrgInfo> fromJsonToList(List<dynamic> json) { final List<OrgInfo> orgList = []; json.forEach((element) { final OrgInfo org = OrgInfo.fromJson(element as Map<String, dynamic>); orgList.add(org); }); return orgList;}