Invitation.fromJson constructor

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

Implementation

factory Invitation.fromJson(Map<String, dynamic> json) {
  return Invitation(
    accountId: json['accountId'] as String?,
    invitationId: json['invitationId'] as String?,
    invitedAt: json['invitedAt'] as String?,
    relationshipStatus: json['relationshipStatus'] as String?,
  );
}