factory GetInvitationsCountResponse.fromJson(Map<String, dynamic> json) { return GetInvitationsCountResponse( invitationsCount: json['invitationsCount'] as int?, ); }