factory VanityInvite.from(Map<String, dynamic> payload) { return VanityInvite( code: payload['code'], uses: payload['uses'], ); }