acceptRequest static method
Implementation
static Future acceptRequest(LCFriendshipRequest request,
{Map<String, dynamic>? attributes}) async {
String path = 'users/friendshipRequests/${request.objectId}/accept';
Map<String, dynamic>? data;
if (attributes != null) {
data = {'friendship': attributes};
}
await LeanCloud._httpClient.put(path, data: data);
}