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