MembershipList.fromMap constructor
Implementation
factory MembershipList.fromMap(Map<String, dynamic> map) {
return MembershipList(
total: map['total'],
memberships: List<Membership>.from(
map['memberships'].map((p) => Membership.fromMap(p))),
);
}