Invite.fromJson constructor
Implementation
factory Invite.fromJson(Map<String, dynamic> json) {
return Invite(
emailAddress: json['EmailAddress'] as String?,
emailStatus: (json['EmailStatus'] as String?)?.toEmailStatus(),
inviteId: json['InviteId'] as String?,
status: (json['Status'] as String?)?.toInviteStatus(),
);
}