unshareWith method

RaliRoute unshareWith(
  1. String userId
)

Removes a user from the sharedWith list

Implementation

RaliRoute unshareWith(String userId) {
  final newSharedWith = sharedWith.where((id) => id != userId).toList();
  return copyWith(sharedWith: newSharedWith);
}