UserUnblockRequest constructor

UserUnblockRequest({
  1. String? userId,
  2. required String targetId,
})

Implementation

UserUnblockRequest({String? userId, required String targetId})
    : super(userId: userId) {
  url = 'users/${userId ?? state.userId}/block/$targetId';
  body = {'target_id': targetId};
}