String memberToJson(List<Member> data) => json.encode(List<dynamic>.from(data.map((x) => x.toJson())));