getMember method

Member? getMember(
  1. String userId
)

Implementation

Member? getMember(String userId) {
  return members.firstWhereOrNull((element) => element.userId == userId);
}