Member.fromJson constructor

Member.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Member.fromJson(Map<String, dynamic> json) {
  return Member(
    accountId: json['AccountId'] as String?,
    email: json['Email'] as String?,
    fullName: json['FullName'] as String?,
    memberId: json['MemberId'] as String?,
    memberType: (json['MemberType'] as String?)?.toMemberType(),
  );
}